summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/en_main.c
diff options
context:
space:
mode:
authorGal Pressman2018-01-11 15:24:06 +0100
committerSaeed Mahameed2018-03-26 22:47:15 +0200
commitacac5ec0c2e77b79c7861db43d50640999d5d37b (patch)
tree475b383ee01008f2cc0e241131a5379aea2d7e91 /drivers/net/ethernet/mellanox/mlx5/core/en_main.c
parentnet/mlx5: Protect from command bit overflow (diff)
downloadkernel-qcow2-linux-acac5ec0c2e77b79c7861db43d50640999d5d37b.tar.gz
kernel-qcow2-linux-acac5ec0c2e77b79c7861db43d50640999d5d37b.tar.xz
kernel-qcow2-linux-acac5ec0c2e77b79c7861db43d50640999d5d37b.zip
net/mlx5e: Remove redundant check in get ethtool stats
ethtool core code makes sure data isn't NULL before calling get_ethtool_stats, testing it again in the driver is redundant. Signed-off-by: Gal Pressman <galp@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_main.c')
0 files changed, 0 insertions, 0 deletions