mirror of
https://github.com/torvalds/linux.git
synced 2024-11-08 21:21:47 +00:00
netdev: Kill struct net_device_subqueue and netdev->egress_subqueue*
No longer used. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
fd2ea0a79f
commit
6b0fb1261a
@ -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
|
|||||||
/* 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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user