[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170719.163430.2283130742325293687.davem@davemloft.net>
Date: Wed, 19 Jul 2017 16:34:30 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: gustavo@...eddedor.com
Cc: derek.chickles@...iumnetworks.com,
satananda.burla@...iumnetworks.com,
felix.manlunas@...iumnetworks.com,
raghu.vatsavayi@...iumnetworks.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] liquidio: lio_main: remove unnecessary static in
setup_io_queues()
From: "Gustavo A. R. Silva" <gustavo@...eddedor.com>
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 <gustavo@...eddedor.com>
Applied.
Powered by blists - more mailing lists