Commit 2b7ef81c authored by Leon Romanovsky's avatar Leon Romanovsky Committed by David S. Miller

net/allwinner: Remove driver version

There is no need in custom driver version for in-tree code.
Signed-off-by: default avatarLeon Romanovsky <leonro@mellanox.com>
Acked-by: default avatarMaxime Ripard <mripard@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent aa912857
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
#include "sun4i-emac.h" #include "sun4i-emac.h"
#define DRV_NAME "sun4i-emac" #define DRV_NAME "sun4i-emac"
#define DRV_VERSION "1.02"
#define EMAC_MAX_FRAME_LEN 0x0600 #define EMAC_MAX_FRAME_LEN 0x0600
...@@ -212,7 +211,6 @@ static void emac_get_drvinfo(struct net_device *dev, ...@@ -212,7 +211,6 @@ static void emac_get_drvinfo(struct net_device *dev,
struct ethtool_drvinfo *info) struct ethtool_drvinfo *info)
{ {
strlcpy(info->driver, DRV_NAME, sizeof(info->driver)); 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)); strlcpy(info->bus_info, dev_name(&dev->dev), sizeof(info->bus_info));
} }
......
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