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

Commit 86eeb6fe authored by Kyungmin Park's avatar Kyungmin Park Committed by Linus Torvalds
Browse files

OMAP2 McSPI code cleanup



Remove unused variable & write space

Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 8b7f9b81
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -693,7 +693,6 @@ static void omap2_mcspi_work(struct work_struct *work)
		struct spi_device		*spi;
		struct spi_transfer		*t = NULL;
		int				cs_active = 0;
		struct omap2_mcspi_device_config *conf;
		struct omap2_mcspi_cs		*cs;
		int				par_override = 0;
		int				status = 0;
@@ -706,7 +705,6 @@ static void omap2_mcspi_work(struct work_struct *work)
		spin_unlock_irq(&mcspi->lock);

		spi = m->spi;
		conf = spi->controller_data;
		cs = spi->controller_state;

		omap2_mcspi_set_enable(spi, 1);