Skip to contentSkip to conversation

net: remove the unused function netdev_add_tso_features()

PATCH Superseded Ding Tianhong 1 participant 1 message Jan 8, 2014

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 net: remove the unused function netdev_add_tso_features()

The function is only used for bonding and the bond has another function bond_add_tso_features() to instead of it, so remove it.

---
 include/linux/netdevice.h | 10 ----------
 1 file changed, 10 deletions(-)
include/linux/netdevice.h +0 -10
index 51c0fe2..183cd8e 100644
@@ -2985,16 +2985,6 @@ static inline netdev_features_t netdev_get_wanted_features(
 netdev_features_t netdev_increment_features(netdev_features_t all,
 	netdev_features_t one, netdev_features_t mask);
 
-/* Allow TSO being used on stacked device :
- * Performing the GSO segmentation before last device
- * is a performance improvement.
- */
-static inline netdev_features_t netdev_add_tso_features(netdev_features_t features,
-							netdev_features_t mask)
-{
-	return netdev_increment_features(features, NETIF_F_ALL_TSO, mask);
-}
-
 int __netdev_update_features(struct net_device *dev);
 void netdev_update_features(struct net_device *dev);
 void netdev_change_features(struct net_device *dev);
Signature · 1 line
1.8.0