Re: [PATCH] IB/rxe: Remove unused variable (char *rxe_qp_state_name[])

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


On Tue, Feb 27, 2018 at 07:07:58PM -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 24 bytes.
>
> add/remove: 0/1 grow/shrink: 0/0 up/down: 0/-24 (-24)
> Function old new delta
> rxe_qp_state_name 24 - -24
> Total: Before=3348732, After=3348708, chg -0.00%
>
> Signed-off-by: HernÃn Gonzalez <hernan@xxxxxxxxxxxxxxxxxxxx>
> drivers/infiniband/sw/rxe/rxe_qp.c | 9 ---------
> drivers/infiniband/sw/rxe/rxe_verbs.h | 2 --
> 2 files changed, 11 deletions(-)

Applied to for-next, thanks

Jason