Thread (2 messages) 2 messages, 2 authors, 2017-07-19

Re: [PATCH] qlcnic: remove unnecessary static in qlcnic_dump_fw()

From: David Miller <davem@davemloft.net>
Date: 2017-07-19 23:35:08
Also in: lkml

From: "Gustavo A. R. Silva" <redacted>
Date: Tue, 18 Jul 2017 15:45:29 -0500
Remove unnecessary static on local variable fw_dump_ops.
Such variable is initialized before being used, on every
execution path throughout the function. The static has no
benefit and, removing it reduces the object file size.

This issue was detected using Coccinelle and the following semantic patch:
 ...
Signed-off-by: Gustavo A. R. Silva <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help