mirror of https://gitee.com/openkylin/linux.git
net/dnet: Delete static version from the driver
Remove static driver version from the ethtool output. Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
02ff70b292
commit
672c88dbb6
|
@ -729,7 +729,6 @@ static void dnet_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, "0", sizeof(info->bus_info));
|
||||
}
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
#define _DNET_H
|
||||
|
||||
#define DRV_NAME "dnet"
|
||||
#define DRV_VERSION "0.9.1"
|
||||
#define PFX DRV_NAME ": "
|
||||
|
||||
/* Register access macros */
|
||||
|
|
Loading…
Reference in New Issue