Re: [PATCH] spi: omap2-mcspi: Fix the redifine warning

From: Peter Korsgaard
Date: Mon Nov 19 2012 - 05:33:25 EST


>>>>> "Shubhrajyoti" == Shubhrajyoti D <shubhrajyoti@xxxxxx> writes:

Shubhrajyoti> Fix the below warning

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

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

Shubhrajyoti> Signed-off-by: Shubhrajyoti D <shubhrajyoti@xxxxxx>

Acked-by: Peter Korsgaard <jacmet@xxxxxxxxxx>

--
Bye, Peter Korsgaard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/