]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5_core: Remove redundant "err" variable usage
authorAchiad Shochat <achiad@mellanox.com>
Fri, 25 Sep 2015 07:49:11 +0000 (10:49 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Sep 2015 05:19:49 +0000 (22:19 -0700)
commit551e7c8750194af1f5695c4a5cd35ef1bad3b9d0
tree4f61b8bd0d2b5e81e9ef1801bf765463569672dd
parentfcce061147c2872f340f075e586147599d523fab
net/mlx5_core: Remove redundant "err" variable usage

Cosmetic change.
Do not use the an err variable just to assign and return it.

Signed-off-by: Achiad Shochat <achiad@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/port.c