Skip to content
Commit 5a7c4509 authored by Jason Yan's avatar Jason Yan Committed by David S. Miller
Browse files

net: mlx4: remove unneeded variable "err" in mlx4_en_ethtool_add_mac_rule()



Fix the following coccicheck warning:

drivers/net/ethernet/mellanox/mlx4/en_ethtool.c:1396:5-8: Unneeded
variable: "err". Return "0" on line 1411

Signed-off-by: default avatarJason Yan <yanaijie@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 27ad2cd2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment