summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-11-24 19:39:25 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2013-11-30 21:10:46 +0100
commit4eb1109dd7b5781c7871b6e1cf1646e9eeb1d032 (patch)
treeb4ba6c62a3bef70081b902ab401fb0ad39cfe8c0
parented20a0d804d50972fac2a1b8b4861b624f8e54f8 (diff)
backports: remove ethtool_rxfh_indir_default()
Upstream commit: 7ef2a4cd90a1492213a1d2d6bdb227af2931bb43 ethtool_rxfh_indir_default() was never called by any code. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--backport/backport-include/linux/ethtool.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/backport/backport-include/linux/ethtool.h b/backport/backport-include/linux/ethtool.h
index 2f323b01..647fbf62 100644
--- a/backport/backport-include/linux/ethtool.h
+++ b/backport/backport-include/linux/ethtool.h
@@ -11,14 +11,6 @@
#define DUPLEX_UNKNOWN 0xff
#endif /* DUPLEX_UNKNOWN */
-#if LINUX_VERSION_CODE < KERNEL_VERSION(3,3,0)
-#define ethtool_rxfh_indir_default LINUX_BACKPORT(ethtool_rxfh_indir_default)
-static inline u32 ethtool_rxfh_indir_default(u32 index, u32 n_rx_rings)
-{
- return index % n_rx_rings;
-}
-#endif
-
#ifndef ETHTOOL_FWVERS_LEN
#define ETHTOOL_FWVERS_LEN 32
#endif