netdev: Move rest of qdisc state into struct netdev_queue
Now qdisc, qdisc_sleeping, and qdisc_list also live there. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -223,7 +223,7 @@ int irda_device_is_receiving(struct net_device *dev);
|
||||
/* Interface for internal use */
|
||||
static inline int irda_device_txqueue_empty(const struct net_device *dev)
|
||||
{
|
||||
return skb_queue_empty(&dev->qdisc->q);
|
||||
return skb_queue_empty(&dev->tx_queue.qdisc->q);
|
||||
}
|
||||
int irda_device_set_raw_mode(struct net_device* self, int status);
|
||||
struct net_device *alloc_irdadev(int sizeof_priv);
|
||||
|
Reference in New Issue
Block a user