diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2013-11-24 19:39:25 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2013-11-24 22:17:46 +0100 |
commit | 7ef2a4cd90a1492213a1d2d6bdb227af2931bb43 (patch) | |
tree | bfcbb295192f8a39d7460150421d4286c1203759 /backport | |
parent | a064620db7bd276dd9160757c3ddb4e8a07f5c48 (diff) |
backports: remove ethtool_rxfh_indir_default()
ethtool_rxfh_indir_default() was never called by any code.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'backport')
-rw-r--r-- | backport/backport-include/linux/ethtool.h | 8 |
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 |