diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2020-02-24 11:53:11 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-24 22:24:47 +0300 |
commit | ea973742140b72db48b2e1303336a7f3d9b0ac73 (patch) | |
tree | f195f37823bf21e45dc5f81f6bcbc689b98d6a71 /drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c | |
parent | 52682a130f326274b03e78b6486ee6329867e09b (diff) | |
download | linux-ea973742140b72db48b2e1303336a7f3d9b0ac73.tar.xz |
net/atheros: Clean atheros code from driver version
Use linux kernel version for ethtool and module versions.
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Acked-by: Chris Snook <chris.snook@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c')
-rw-r--r-- | drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c b/drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c index b5a70a36fa04..e2eb7b8c63a0 100644 --- a/drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c +++ b/drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c @@ -221,8 +221,6 @@ static void atl1c_get_drvinfo(struct net_device *netdev, struct atl1c_adapter *adapter = netdev_priv(netdev); strlcpy(drvinfo->driver, atl1c_driver_name, sizeof(drvinfo->driver)); - strlcpy(drvinfo->version, atl1c_driver_version, - sizeof(drvinfo->version)); strlcpy(drvinfo->bus_info, pci_name(adapter->pdev), sizeof(drvinfo->bus_info)); } |