提交 6b0fb126 编写于 作者: D David S. Miller

netdev: Kill struct net_device_subqueue and netdev->egress_subqueue*

No longer used.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 fd2ea0a7
...@@ -118,14 +118,6 @@ struct wireless_dev; ...@@ -118,14 +118,6 @@ struct wireless_dev;
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
struct net_device_subqueue
{
/* Give a control state for each queue. This struct may contain
* per-queue locks in the future.
*/
unsigned long state;
};
/* /*
* Network device statistics. Akin to the 2.0 ether stats but * Network device statistics. Akin to the 2.0 ether stats but
* with byte counters. * with byte counters.
...@@ -761,10 +753,6 @@ struct net_device ...@@ -761,10 +753,6 @@ struct net_device
/* for setting kernel sock attribute on TCP connection setup */ /* for setting kernel sock attribute on TCP connection setup */
#define GSO_MAX_SIZE 65536 #define GSO_MAX_SIZE 65536
unsigned int gso_max_size; unsigned int gso_max_size;
/* The TX queue control structures */
unsigned int egress_subqueue_count;
struct net_device_subqueue egress_subqueue[1];
}; };
#define to_net_dev(d) container_of(d, struct net_device, dev) #define to_net_dev(d) container_of(d, struct net_device, dev)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册