net/mlx5: Avoid setting unused var when modifying vport node GUID
authorOr Gerlitz <ogerlitz@mellanox.com>
Tue, 5 Jul 2016 09:17:12 +0000 (12:17 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jul 2016 18:52:42 +0000 (11:52 -0700)
commiteae033c1b86721ec54511607fc26bfb94a0e004b
tree6984f17021b6e0f556027a2be1271732f7dcaec6
parenta30b016808e214c6864ad579ef867b3fe0a314f8
net/mlx5: Avoid setting unused var when modifying vport node GUID

GCC complains on unused-but-set-variable, clean this up.

Fixes: 23898c763f4a ('net/mlx5: E-Switch, Modify node guid on vf set MAC')
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Acked-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/vport.c