]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: qualcomm: rmnet: remove set but not used variables 'ip_family, fc_seq, qos_id'
authorYueHaibing <yuehaibing@huawei.com>
Wed, 28 Nov 2018 12:31:42 +0000 (20:31 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Nov 2018 19:09:36 +0000 (11:09 -0800)
commit62e3a931788223048120357ab3f29dcb55c5ef79
tree3418c6a0d496bc5aa86a2b4508ce38aeda346735
parent8eb08cf8a35a525dc40b9fedd33833a4a7aecfb2
net: qualcomm: rmnet: remove set but not used variables 'ip_family, fc_seq, qos_id'

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@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/rmnet/rmnet_map_command.c