summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/cavium/octeon
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2020-03-01 17:44:40 +0300
committerDavid S. Miller <davem@davemloft.net>2020-03-04 04:54:54 +0300
commit46ca70a3d5b47c7fb11354ea3435ceba2ef28fc8 (patch)
treefa55779d66ecb956da03d959fa6b46c1a8138a5a /drivers/net/ethernet/cavium/octeon
parentb2c1e1d5a4eff747d9d752ebc36330bff9582e4f (diff)
downloadlinux-46ca70a3d5b47c7fb11354ea3435ceba2ef28fc8.tar.xz
net/cavium: Delete N/A assignments for ethtool
There is no need to set N/A for the ethtool fields. Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cavium/octeon')
-rw-r--r--drivers/net/ethernet/cavium/octeon/octeon_mgmt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/cavium/octeon/octeon_mgmt.c b/drivers/net/ethernet/cavium/octeon/octeon_mgmt.c
index 2985699ad1da..9d868403d86c 100644
--- a/drivers/net/ethernet/cavium/octeon/octeon_mgmt.c
+++ b/drivers/net/ethernet/cavium/octeon/octeon_mgmt.c
@@ -1339,8 +1339,6 @@ static void octeon_mgmt_get_drvinfo(struct net_device *netdev,
struct ethtool_drvinfo *info)
{
strlcpy(info->driver, DRV_NAME, sizeof(info->driver));
- strlcpy(info->fw_version, "N/A", sizeof(info->fw_version));
- strlcpy(info->bus_info, "N/A", sizeof(info->bus_info));
}
static int octeon_mgmt_nway_reset(struct net_device *dev)