mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-03 17:14:14 +08:00
net/brocade: Delete driver version
Remove driver and module version in favor of default one. Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1611bec5fc
commit
af9b33c51b
@ -3842,9 +3842,6 @@ bnad_module_init(void)
|
||||
{
|
||||
int err;
|
||||
|
||||
pr_info("bna: QLogic BR-series 10G Ethernet driver - version: %s\n",
|
||||
BNAD_VERSION);
|
||||
|
||||
bfa_nw_ioc_auto_recover(bnad_ioc_auto_recover);
|
||||
|
||||
err = pci_register_driver(&bnad_pci_driver);
|
||||
@ -3869,6 +3866,5 @@ module_exit(bnad_module_exit);
|
||||
MODULE_AUTHOR("Brocade");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_DESCRIPTION("QLogic BR-series 10G PCIe Ethernet driver");
|
||||
MODULE_VERSION(BNAD_VERSION);
|
||||
MODULE_FIRMWARE(CNA_FW_FILE_CT);
|
||||
MODULE_FIRMWARE(CNA_FW_FILE_CT2);
|
||||
|
@ -64,8 +64,6 @@ struct bnad_rx_ctrl {
|
||||
#define BNAD_NAME "bna"
|
||||
#define BNAD_NAME_LEN 64
|
||||
|
||||
#define BNAD_VERSION "3.2.25.1"
|
||||
|
||||
#define BNAD_MAILBOX_MSIX_INDEX 0
|
||||
#define BNAD_MAILBOX_MSIX_VECTORS 1
|
||||
#define BNAD_INTX_TX_IB_BITMASK 0x1
|
||||
|
@ -284,7 +284,6 @@ bnad_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo)
|
||||
unsigned long flags;
|
||||
|
||||
strlcpy(drvinfo->driver, BNAD_NAME, sizeof(drvinfo->driver));
|
||||
strlcpy(drvinfo->version, BNAD_VERSION, sizeof(drvinfo->version));
|
||||
|
||||
ioc_attr = kzalloc(sizeof(*ioc_attr), GFP_KERNEL);
|
||||
if (ioc_attr) {
|
||||
|
Loading…
Reference in New Issue
Block a user