Commit 3f29c285 authored by Leon Romanovsky's avatar Leon Romanovsky Committed by David S. Miller

net/cortina: Delete driver version from ethtool output

Use default ethtool version instead of static variant.
Signed-off-by: default avatarLeon Romanovsky <leonro@mellanox.com>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f95f42b7
...@@ -44,7 +44,6 @@ ...@@ -44,7 +44,6 @@
#include "gemini.h" #include "gemini.h"
#define DRV_NAME "gmac-gemini" #define DRV_NAME "gmac-gemini"
#define DRV_VERSION "1.0"
#define DEFAULT_MSG_ENABLE (NETIF_MSG_DRV | NETIF_MSG_PROBE | NETIF_MSG_LINK) #define DEFAULT_MSG_ENABLE (NETIF_MSG_DRV | NETIF_MSG_PROBE | NETIF_MSG_LINK)
static int debug = -1; static int debug = -1;
...@@ -2204,7 +2203,6 @@ static void gmac_get_drvinfo(struct net_device *netdev, ...@@ -2204,7 +2203,6 @@ static void gmac_get_drvinfo(struct net_device *netdev,
struct ethtool_drvinfo *info) struct ethtool_drvinfo *info)
{ {
strcpy(info->driver, DRV_NAME); strcpy(info->driver, DRV_NAME);
strcpy(info->version, DRV_VERSION);
strcpy(info->bus_info, netdev->dev_id ? "1" : "0"); strcpy(info->bus_info, netdev->dev_id ? "1" : "0");
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment