Skip to content

Commit

Permalink
net/allwinner: Remove driver version
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Leon Romanovsky authored and David S. Miller committed Feb 24, 2020
1 parent aa91285 commit 2b7ef81
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/ethernet/allwinner/sun4i-emac.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
#include "sun4i-emac.h"

#define DRV_NAME "sun4i-emac"
#define DRV_VERSION "1.02"

#define EMAC_MAX_FRAME_LEN 0x0600

Expand Down Expand Up @@ -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));
}

Expand Down

0 comments on commit 2b7ef81

Please sign in to comment.