linux-4.5-rc5/arch/arm/mach-omap2/omap-mpuss-lowpower.c:297: pointless assignment ?

From: David Binderman <hidden>
Date: 2016-02-26 08:17:54

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

 		 	   		  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help