Thread (3 messages) flat view 3 messages, 3 authors, 2017-07-19

Re: [PATCH] liquidio: lio_main: remove unnecessary static in setup_io_queues()

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

From: "Gustavo A. R. Silva" <redacted>
Date: Tue, 18 Jul 2017 15:53:48 -0500
Remove unnecessary static on local variables cpu_id_modulus and cpu_id.
Such variables are 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