]> git.baikalelectronics.ru Git - kernel.git/commitdiff
spi: bitbang: Remove unused tmp variable
authorAxel Lin <axel.lin@ingics.com>
Thu, 15 Aug 2013 06:06:37 +0000 (14:06 +0800)
committerMark Brown <broonie@linaro.org>
Thu, 15 Aug 2013 09:52:24 +0000 (10:52 +0100)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-bitbang.c

index dd2e5d7332f82507ef6d49b6306e44bf392e4619..e3946e44e076e2aaf5bd0e7813554f65a9062745 100644 (file)
@@ -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;