From: Leon Romanovsky Date: Sun, 1 Mar 2020 14:44:40 +0000 (+0200) Subject: net/cavium: Delete N/A assignments for ethtool X-Git-Tag: v5.10.7~2946^2~254^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=46ca70a3d5b47c7fb11354ea3435ceba2ef28fc8;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/cavium/octeon/octeon_mgmt.c b/drivers/net/ethernet/cavium/octeon/octeon_mgmt.c index 2985699..9d86840 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)