linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* linux-4.6-rc5/arch/arm/mach-vexpress/spc.c:332: possible typo ?
@ 2016-04-25 20:31 David Binderman
  2016-04-26 13:11 ` Sudeep Holla
  2016-04-26 13:11 ` [PATCH] ARM: vexpress/spc: remove unused variable perf_stat_reg Sudeep Holla
  0 siblings, 2 replies; 3+ messages in thread
From: David Binderman @ 2016-04-25 20:31 UTC (permalink / raw)
  To: linux-arm-kernel

Hello there,

linux-4.6-rc5/arch/arm/mach-vexpress/spc.c:332]: (style) Variable 'perf_stat_reg' is assigned a value that is never used.

?? if (cluster_is_a15(cluster)) {
??????? req_type = CA15_DVFS;
??????? perf_cfg_reg = PERF_LVL_A15;
??????? perf_stat_reg = PERF_REQ_A15;
??? } else {
??????? req_type = CA7_DVFS;
??????? perf_cfg_reg = PERF_LVL_A7;
??????? perf_stat_reg = PERF_REQ_A7;
??? }

But local variable perf_stat_reg doesn't get used anywhere.

Suggest either delete or use.


Regards

David Binderman

 		 	   		  

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-26 13:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-25 20:31 linux-4.6-rc5/arch/arm/mach-vexpress/spc.c:332: possible typo ? David Binderman
2016-04-26 13:11 ` Sudeep Holla
2016-04-26 13:11 ` [PATCH] ARM: vexpress/spc: remove unused variable perf_stat_reg Sudeep Holla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).