[net-next,v1,09/18] net/allwinner: Remove driver version
diff mbox series

Message ID 20200224085311.460338-10-leon@kernel.org
State New
Headers show
Series
  • Clean driver, module and FW versions
Related show

Commit Message

Leon Romanovsky Feb. 24, 2020, 8:53 a.m. UTC
From: Leon Romanovsky <leonro@mellanox.com>

There is no need in custom driver version for in-tree code.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
---
 drivers/net/ethernet/allwinner/sun4i-emac.c | 2 --
 1 file changed, 2 deletions(-)

--
2.24.1

Comments

Maxime Ripard Feb. 24, 2020, 9:43 a.m. UTC | #1
On Mon, Feb 24, 2020 at 10:53:02AM +0200, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@mellanox.com>
>
> 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>

Thanks!
Maxime

Patch
diff mbox series

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));
 }