Commit 80a1608f authored by Leon Romanovsky's avatar Leon Romanovsky Committed by David S. Miller

net/emulex: Delete driver version

Remove driver version in favor of general linux kernel version.
Signed-off-by: default avatarLeon Romanovsky <leonro@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 672c88db
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
#include "be_hw.h" #include "be_hw.h"
#include "be_roce.h" #include "be_roce.h"
#define DRV_VER "12.0.0.0"
#define DRV_NAME "be2net" #define DRV_NAME "be2net"
#define BE_NAME "Emulex BladeEngine2" #define BE_NAME "Emulex BladeEngine2"
#define BE3_NAME "Emulex BladeEngine3" #define BE3_NAME "Emulex BladeEngine3"
......
...@@ -221,7 +221,6 @@ static void be_get_drvinfo(struct net_device *netdev, ...@@ -221,7 +221,6 @@ static void be_get_drvinfo(struct net_device *netdev,
struct be_adapter *adapter = netdev_priv(netdev); struct be_adapter *adapter = netdev_priv(netdev);
strlcpy(drvinfo->driver, DRV_NAME, sizeof(drvinfo->driver)); strlcpy(drvinfo->driver, DRV_NAME, sizeof(drvinfo->driver));
strlcpy(drvinfo->version, DRV_VER, sizeof(drvinfo->version));
if (!memcmp(adapter->fw_ver, adapter->fw_on_flash, FW_VER_LEN)) if (!memcmp(adapter->fw_ver, adapter->fw_on_flash, FW_VER_LEN))
strlcpy(drvinfo->fw_version, adapter->fw_ver, strlcpy(drvinfo->fw_version, adapter->fw_ver,
sizeof(drvinfo->fw_version)); sizeof(drvinfo->fw_version));
......
...@@ -21,8 +21,7 @@ ...@@ -21,8 +21,7 @@
#include <net/busy_poll.h> #include <net/busy_poll.h>
#include <net/vxlan.h> #include <net/vxlan.h>
MODULE_VERSION(DRV_VER); MODULE_DESCRIPTION(DRV_DESC);
MODULE_DESCRIPTION(DRV_DESC " " DRV_VER);
MODULE_AUTHOR("Emulex Corporation"); MODULE_AUTHOR("Emulex Corporation");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -5949,8 +5948,6 @@ static int be_probe(struct pci_dev *pdev, const struct pci_device_id *pdev_id) ...@@ -5949,8 +5948,6 @@ static int be_probe(struct pci_dev *pdev, const struct pci_device_id *pdev_id)
struct net_device *netdev; struct net_device *netdev;
int status = 0; int status = 0;
dev_info(&pdev->dev, "%s version is %s\n", DRV_NAME, DRV_VER);
status = pci_enable_device(pdev); status = pci_enable_device(pdev);
if (status) if (status)
goto do_none; goto do_none;
......
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