diff options
author | YueHaibing <yuehaibing@huawei.com> | 2018-12-12 08:33:53 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-12 21:38:04 -0800 |
commit | c784a28b025a22f8c791e14096fb7079236739c0 (patch) | |
tree | 93992870c79cba1f090232f32bb21df3a507843d /drivers/s390/scsi/Makefile | |
parent | 02e1dbe402de8c41787da7b1ef9acd2457b0b84b (diff) |
net/mlx5e: Remove set but not used variable 'upriv'
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c: In function 'mlx5e_vport_rep_load':
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:1490:21: warning:
variable 'upriv' set but not used [-Wunused-but-set-variable]
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c: In function 'mlx5e_vport_rep_unload':
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:1557:21: warning:
variable 'upriv' set but not used [-Wunused-but-set-variable]
It not used any more since commit ef381359e3a8 ("net/mlx5e: Replace egdev with
indirect block notifications"). Also remove unused variable 'uplink_rpriv'
after this change.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Acked-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/scsi/Makefile')
0 files changed, 0 insertions, 0 deletions