net/davicom: Delete ethtool version assignment
Rely on global linux kernel version instead of static value. Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Родитель
3f29c285c9
Коммит
469c9e1ae7
|
@ -42,7 +42,6 @@
|
|||
#define DM9000_PHY 0x40 /* PHY address 0x01 */
|
||||
|
||||
#define CARDNAME "dm9000"
|
||||
#define DRV_VERSION "1.31"
|
||||
|
||||
/*
|
||||
* Transmit timeout, default 5 seconds.
|
||||
|
@ -543,7 +542,6 @@ static void dm9000_get_drvinfo(struct net_device *dev,
|
|||
struct board_info *dm = to_dm9000_board(dev);
|
||||
|
||||
strlcpy(info->driver, CARDNAME, sizeof(info->driver));
|
||||
strlcpy(info->version, DRV_VERSION, sizeof(info->version));
|
||||
strlcpy(info->bus_info, to_platform_device(dm->dev)->name,
|
||||
sizeof(info->bus_info));
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче