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

2017-07-19 Thread David Miller
From: "Gustavo A. R. Silva" 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 si

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

2017-07-18 Thread Gustavo A. R. Silva
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 pat