OSDN Git Service

net/mlx5: Remove unneeded variable in mlx5_unload_one
authorzhong jiang <zhongjiang@huawei.com>
Thu, 12 Sep 2019 16:59:02 +0000 (00:59 +0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 1 Nov 2019 21:55:14 +0000 (14:55 -0700)
commit32680da7103439095ba8c2dbe30c3e4d0e05e4c2
treec311c2c3a692fd05ceb050d454c213e0643b8d59
parentcc4db579e69b4c92a51fdc9f44bc671b40427824
net/mlx5: Remove unneeded variable in mlx5_unload_one

mlx5_unload_one do not need local variable to store different value,
Hence just remove it.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Acked-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/main.c