linux-4.5-rc5/arch/arm/mach-omap2/omap-mpuss-lowpower.c:297: pointless assignment ?
dcb314 at hotmail.com
Fri Feb 26 00:17:54 PST 2016
[linux-4.5-rc5/arch/arm/mach-omap2/omap-mpuss-lowpower.c:297]: (style) Variable 'wakeup_cpu' is assigned a value that is never used.
$ fgrep wakeup_cpu linux-4.5-rc5/arch/arm/mach-omap2/omap-mpuss-lowpower.c
unsigned int wakeup_cpu;
wakeup_cpu = smp_processor_id();
Suggest either assign the variable to something or remove it.
Since there is a function call involved, option 1 looks more likely to me.
More information about the linux-arm-kernel