[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170719.163504.1972586469015417785.davem@davemloft.net>
Date: Wed, 19 Jul 2017 16:35:04 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: gustavo@...eddedor.com
Cc: harish.patil@...ium.com, manish.chopra@...ium.com,
Dept-GELinuxNICDev@...ium.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] qlcnic: remove unnecessary static in qlcnic_dump_fw()
From: "Gustavo A. R. Silva" <gustavo@...eddedor.com>
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 <gustavo@...eddedor.com>
Applied.
Powered by blists - more mailing lists