Re: [PATCH 1/2] IB/qib: Remove unused variable (char *qib_sdma_event_names[])

From: Jason Gunthorpe
Date: Wed Feb 28 2018 - 16:16:21 EST


On Tue, Feb 27, 2018 at 07:05:42PM -0300, HernÃn Gonzalez wrote:
> Note: This is compile only tested as I have no access to the hw.
>
> This variable was not used anywhere in the code. Removing it saves 88 bytes.
>
> add/remove: 0/1 grow/shrink: 0/0 up/down: 0/-88 (-88)
> Function old new delta
> qib_sdma_event_names 88 - -88
> Total: Before=2874565, After=2874477, chg -0.00%
>
> Signed-off-by: HernÃn Gonzalez <hernan@xxxxxxxxxxxxxxxxxxxx>
> drivers/infiniband/hw/qib/qib.h | 1 -
> drivers/infiniband/hw/qib/qib_sdma.c | 14 --------------
> 2 files changed, 15 deletions(-)

Applied the series to for-next, thanks

Jason