summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/net/ethernet/tehuti
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/net/ethernet/tehuti')
-rw-r--r--kernel/drivers/net/ethernet/tehuti/Kconfig4
-rw-r--r--kernel/drivers/net/ethernet/tehuti/tehuti.c5
2 files changed, 1 insertions, 8 deletions
diff --git a/kernel/drivers/net/ethernet/tehuti/Kconfig b/kernel/drivers/net/ethernet/tehuti/Kconfig
index 1fc027eda..b17f0ca3f 100644
--- a/kernel/drivers/net/ethernet/tehuti/Kconfig
+++ b/kernel/drivers/net/ethernet/tehuti/Kconfig
@@ -7,9 +7,7 @@ config NET_VENDOR_TEHUTI
default y
depends on PCI
---help---
- If you have a network (Ethernet) card belonging to this class, say Y
- and read the Ethernet-HOWTO, available from
- <http://www.tldp.org/docs.html#howto>.
+ If you have a network (Ethernet) card belonging to this class, say Y.
Note that the answer to this question doesn't directly affect the
kernel: saying N will just cause the configurator to skip all
diff --git a/kernel/drivers/net/ethernet/tehuti/tehuti.c b/kernel/drivers/net/ethernet/tehuti/tehuti.c
index bd70b8481..e1a530541 100644
--- a/kernel/drivers/net/ethernet/tehuti/tehuti.c
+++ b/kernel/drivers/net/ethernet/tehuti/tehuti.c
@@ -2177,11 +2177,6 @@ bdx_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo)
strlcpy(drvinfo->fw_version, "N/A", sizeof(drvinfo->fw_version));
strlcpy(drvinfo->bus_info, pci_name(priv->pdev),
sizeof(drvinfo->bus_info));
-
- drvinfo->n_stats = ((priv->stats_flag) ? ARRAY_SIZE(bdx_stat_names) : 0);
- drvinfo->testinfo_len = 0;
- drvinfo->regdump_len = 0;
- drvinfo->eedump_len = 0;
}
/*