summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/allwinner
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2020-02-24 09:53:02 +0100
committerDavid S. Miller <davem@davemloft.net>2020-02-24 20:23:37 +0100
commit2b7ef81c04fb811bf715e9c126cb42365beb5dfc (patch)
treed1cb3a3c8c3cb2033b5150a4f5db546496f623e4 /drivers/net/ethernet/allwinner
parentnet/alacritech: Delete driver version (diff)
downloadlinux-2b7ef81c04fb811bf715e9c126cb42365beb5dfc.tar.xz
linux-2b7ef81c04fb811bf715e9c126cb42365beb5dfc.zip
net/allwinner: Remove driver version
There is no need in custom driver version for in-tree code. Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Acked-by: Maxime Ripard <mripard@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/allwinner')
-rw-r--r--drivers/net/ethernet/allwinner/sun4i-emac.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/allwinner/sun4i-emac.c b/drivers/net/ethernet/allwinner/sun4i-emac.c
index 22cadfbeedfb..18d3b4340bd4 100644
--- a/drivers/net/ethernet/allwinner/sun4i-emac.c
+++ b/drivers/net/ethernet/allwinner/sun4i-emac.c
@@ -33,7 +33,6 @@
#include "sun4i-emac.h"
#define DRV_NAME "sun4i-emac"
-#define DRV_VERSION "1.02"
#define EMAC_MAX_FRAME_LEN 0x0600
@@ -212,7 +211,6 @@ static void emac_get_drvinfo(struct net_device *dev,
struct ethtool_drvinfo *info)
{
strlcpy(info->driver, DRV_NAME, sizeof(info->driver));
- strlcpy(info->version, DRV_VERSION, sizeof(info->version));
strlcpy(info->bus_info, dev_name(&dev->dev), sizeof(info->bus_info));
}