ethtool_rxfh_indir_default() was never called by any code. Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- backport/backport-include/linux/ethtool.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/backport/backport-include/linux/ethtool.h b/backport/backport-include/linux/ethtool.h index 2f323b0..647fbf6 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 -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html