Re: [PATCH net-next] net: qualcomm: rmnet: remove set but not used variables 'ip_family, fc_seq, qos_id'

From: David Miller
Date: Wed Nov 28 2018 - 14:10:31 EST


From: YueHaibing <yuehaibing@xxxxxxxxxx>
Date: Wed, 28 Nov 2018 20:31:42 +0800

> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c:26:6:
> warning: variable 'ip_family' set but not used [-Wunused-but-set-variable]
> drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c:27:6:
> warning: variable 'fc_seq' set but not used [-Wunused-but-set-variable]
> drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c:28:6:
> warning: variable 'qos_id' set but not used [-Wunused-but-set-variable]
>
> It never used since introduction in commit
> ceed73a2cf4a ("drivers: net: ethernet: qualcomm: rmnet: Initial implementation")
>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>

Applied.