diff options
author | Jason Yan <yanaijie@huawei.com> | 2020-05-07 13:08:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-07 22:04:21 +0200 |
commit | 5a7c45097c3f63ac10def7206292b88023205a3e (patch) | |
tree | 0c8fefb83747ef4e81a84d9d76c7b2682adfcb9b /drivers/net/ethernet/microchip | |
parent | net: tulip: de4x5: make PCI_signature() return void (diff) | |
download | linux-5a7c45097c3f63ac10def7206292b88023205a3e.tar.xz linux-5a7c45097c3f63ac10def7206292b88023205a3e.zip |
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: Jason Yan <yanaijie@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/microchip')
0 files changed, 0 insertions, 0 deletions