diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2020-02-24 11:53:07 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-24 22:24:47 +0300 |
commit | 8ed211af28d9dee766a8f5bf42d2f1ff6eebe8e1 (patch) | |
tree | 57bde40d62b2d2085c16fe0504d2b19be3ab3741 /drivers/net/ethernet/apm/xgene-v2 | |
parent | 7f4d2537f0b9630dbe1a7d7c4ea1b9479f4451e9 (diff) | |
download | linux-8ed211af28d9dee766a8f5bf42d2f1ff6eebe8e1.tar.xz |
net/apm: Remove useless driver version
Delete module version in favor of global and unique linux kernel.
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/apm/xgene-v2')
-rw-r--r-- | drivers/net/ethernet/apm/xgene-v2/ethtool.c | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/apm/xgene-v2/main.c | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/apm/xgene-v2/main.h | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/apm/xgene-v2/ethtool.c b/drivers/net/ethernet/apm/xgene-v2/ethtool.c index a58250c1b57a..da748beb7047 100644 --- a/drivers/net/ethernet/apm/xgene-v2/ethtool.c +++ b/drivers/net/ethernet/apm/xgene-v2/ethtool.c @@ -89,7 +89,6 @@ static void xge_get_drvinfo(struct net_device *ndev, struct platform_device *pdev = pdata->pdev; strcpy(info->driver, "xgene-enet-v2"); - strcpy(info->version, XGENE_ENET_V2_VERSION); snprintf(info->fw_version, ETHTOOL_FWVERS_LEN, "N/A"); sprintf(info->bus_info, "%s", pdev->name); } diff --git a/drivers/net/ethernet/apm/xgene-v2/main.c b/drivers/net/ethernet/apm/xgene-v2/main.c index c48f60996761..860c18fb7aae 100644 --- a/drivers/net/ethernet/apm/xgene-v2/main.c +++ b/drivers/net/ethernet/apm/xgene-v2/main.c @@ -741,5 +741,4 @@ module_platform_driver(xge_driver); MODULE_DESCRIPTION("APM X-Gene SoC Ethernet v2 driver"); MODULE_AUTHOR("Iyappan Subramanian <isubramanian@apm.com>"); -MODULE_VERSION(XGENE_ENET_V2_VERSION); MODULE_LICENSE("GPL"); diff --git a/drivers/net/ethernet/apm/xgene-v2/main.h b/drivers/net/ethernet/apm/xgene-v2/main.h index d41439d2709d..b3985a7be59d 100644 --- a/drivers/net/ethernet/apm/xgene-v2/main.h +++ b/drivers/net/ethernet/apm/xgene-v2/main.h @@ -28,7 +28,6 @@ #include "ring.h" #include "ethtool.h" -#define XGENE_ENET_V2_VERSION "v1.0" #define XGENE_ENET_STD_MTU 1536 #define XGENE_ENET_MIN_FRAME 60 #define IRQ_ID_SIZE 16 |