Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e29db40 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

spi: bitbang: Remove unused tmp variable



Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 30af9b55
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;