From: Leon Romanovsky Date: Sun, 1 Mar 2020 14:44:45 +0000 (+0200) Subject: net/cortina: Delete driver version from ethtool output X-Git-Tag: v5.10.7~2946^2~254^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3f29c285c98e2eab5a0c582f97f6e7ccc750f2fc;p=platform%2Fkernel%2Flinux-rpi.git net/cortina: Delete driver version from ethtool output Use default ethtool version instead of static variant. Signed-off-by: Leon Romanovsky Reviewed-by: Linus Walleij Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/cortina/gemini.c b/drivers/net/ethernet/cortina/gemini.c index f30fa8e..dc2a4ad 100644 --- a/drivers/net/ethernet/cortina/gemini.c +++ b/drivers/net/ethernet/cortina/gemini.c @@ -44,7 +44,6 @@ #include "gemini.h" #define DRV_NAME "gmac-gemini" -#define DRV_VERSION "1.0" #define DEFAULT_MSG_ENABLE (NETIF_MSG_DRV | NETIF_MSG_PROBE | NETIF_MSG_LINK) static int debug = -1; @@ -2204,7 +2203,6 @@ static void gmac_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info) { strcpy(info->driver, DRV_NAME); - strcpy(info->version, DRV_VERSION); strcpy(info->bus_info, netdev->dev_id ? "1" : "0"); }