]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit6c3dbd2d722a6010010ad99a6890a56178385bb8
tree4f61b8bd0d2b5e81e9ef1801bf765463569672dd
parent97909302f9739c4c5664bc6fc19237ec19d53c02
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