mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 13:23:35 -04:00
spi: bitbang: Remove unused tmp variable
Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
@@ -276,7 +276,6 @@ static int spi_bitbang_transfer_one(struct spi_master *master,
|
||||
struct spi_bitbang *bitbang;
|
||||
unsigned nsecs;
|
||||
struct spi_transfer *t = NULL;
|
||||
unsigned tmp;
|
||||
unsigned cs_change;
|
||||
int status;
|
||||
int do_setup = -1;
|
||||
@@ -290,7 +289,6 @@ static int spi_bitbang_transfer_one(struct spi_master *master,
|
||||
*/
|
||||
nsecs = 100;
|
||||
|
||||
tmp = 0;
|
||||
cs_change = 1;
|
||||
status = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user