linux-4.5-rc5/arch/arm/mach-omap2/omap-mpuss-lowpower.c:297: pointless assignment ?
David Binderman
dcb314 at hotmail.com
Fri Feb 26 00:17:54 PST 2016
Hello there,
[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.
Regards
David Binderman
More information about the linux-arm-kernel
mailing list