net: remove NETDEV_TX_LOCKED support
No more users in the tree, remove NETDEV_TX_LOCKED support. Adds another hole in softnet_stats struct, but better than keeping the unused collision counter around. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
a6086a8937
commit
f0cdf76c10
@@ -106,7 +106,6 @@ enum netdev_tx {
|
||||
__NETDEV_TX_MIN = INT_MIN, /* make sure enum is signed */
|
||||
NETDEV_TX_OK = 0x00, /* driver took care of packet */
|
||||
NETDEV_TX_BUSY = 0x10, /* driver tx path was busy*/
|
||||
NETDEV_TX_LOCKED = 0x20, /* driver tx lock was already taken */
|
||||
};
|
||||
typedef enum netdev_tx netdev_tx_t;
|
||||
|
||||
@@ -831,7 +830,6 @@ struct tc_to_netdev {
|
||||
* the queue before that can happen; it's for obsolete devices and weird
|
||||
* corner cases, but the stack really does a non-trivial amount
|
||||
* of useless work if you return NETDEV_TX_BUSY.
|
||||
* (can also return NETDEV_TX_LOCKED iff NETIF_F_LLTX)
|
||||
* Required; cannot be NULL.
|
||||
*
|
||||
* netdev_features_t (*ndo_fix_features)(struct net_device *dev,
|
||||
@@ -2737,7 +2735,6 @@ struct softnet_data {
|
||||
/* stats */
|
||||
unsigned int processed;
|
||||
unsigned int time_squeeze;
|
||||
unsigned int cpu_collision;
|
||||
unsigned int received_rps;
|
||||
#ifdef CONFIG_RPS
|
||||
struct softnet_data *rps_ipi_list;
|
||||
|
Reference in New Issue
Block a user