spi: omap2-mcspi: Fix the redifine warning
authorShubhrajyoti D <shubhrajyoti@ti.com>
Mon, 19 Nov 2012 06:42:29 +0000 (12:12 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 2 Dec 2012 15:17:50 +0000 (00:17 +0900)
commit6a47d80308a824c32c47fbef6b8e8b59de08af94
tree9e4af126d10048243553bd5c7531fc7ad7866d5e
parent170c2d0a87922adb43a8e8ca47cba3e30407d4d6
spi: omap2-mcspi: Fix the redifine warning

Fix the below warning
drivers/spi/spi-omap2-mcspi.c:336:34: warning: symbol 'tx' shadows an earlier one
drivers/spi/spi-omap2-mcspi.c:327:12: originally declared here

So delete the u8 tx as it is assigned and not used(resigned afterwards).

Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/spi/spi-omap2-mcspi.c