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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "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-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux