diff options
author | Rick Jones <rick.jones2@hp.com> | 2011-11-21 11:54:05 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-22 22:43:32 +0100 |
commit | 84b405011166e663fe9ef56c29b1d76f59b35568 (patch) | |
tree | 7b8648d4da4919f990254d93d1bb8f340a38b230 /drivers/net/ethernet/intel/igbvf | |
parent | net: remove ipv6_addr_copy() (diff) | |
download | linux-84b405011166e663fe9ef56c29b1d76f59b35568.tar.xz linux-84b405011166e663fe9ef56c29b1d76f59b35568.zip |
Sweep away N/A fw_version dustbunnies from the .get_drvinfo routine of a number of drivers
Per discussion with Ben Hutchings and David Miller, go through and
remove assignments of "N/A" to fw_version in various drivers'
.get_drvinfo routines. While there clean-up some use of bare
constants and such.
Signed-off-by: Rick Jones <rick.jones2@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/igbvf')
-rw-r--r-- | drivers/net/ethernet/intel/igbvf/ethtool.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/igbvf/ethtool.c b/drivers/net/ethernet/intel/igbvf/ethtool.c index e60f1c6957af..7b600a1f6366 100644 --- a/drivers/net/ethernet/intel/igbvf/ethtool.c +++ b/drivers/net/ethernet/intel/igbvf/ethtool.c @@ -195,8 +195,6 @@ static void igbvf_get_drvinfo(struct net_device *netdev, strlcpy(drvinfo->driver, igbvf_driver_name, sizeof(drvinfo->driver)); strlcpy(drvinfo->version, igbvf_driver_version, sizeof(drvinfo->version)); - strlcpy(drvinfo->fw_version, "N/A", - sizeof(drvinfo->fw_version)); strlcpy(drvinfo->bus_info, pci_name(adapter->pdev), sizeof(drvinfo->bus_info)); drvinfo->regdump_len = igbvf_get_regs_len(netdev); |