Re: [PATCH -next] ehea: remove set but not used variables 'epa' and 'cq_handle_ref'
From: David Miller
Date: Thu Apr 04 2019 - 20:37:10 EST
From: Yue Haibing <yuehaibing@xxxxxxxxxx>
Date: Wed, 3 Apr 2019 15:52:08 +0800
> From: YueHaibing <yuehaibing@xxxxxxxxxx>
>
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/ethernet/ibm/ehea/ehea_qmr.c: In function 'ehea_create_cq':
> drivers/net/ethernet/ibm/ehea/ehea_qmr.c:127:7: warning: variable 'cq_handle_ref' set but not used [-Wunused-but-set-variable]
> drivers/net/ethernet/ibm/ehea/ehea_qmr.c:126:15: warning: variable 'epa' set but not used [-Wunused-but-set-variable]
>
> They are never used since commit
> 7a291083225a ("[PATCH] ehea: IBM eHEA Ethernet Device Driver")
>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
Applied.