pkt_sched: Kill netdev_queue lock.

We can simply use the qdisc->q.lock for all of the
qdisc tree synchronization.

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller
2008-07-17 00:53:03 -07:00
parent c7e4f3bbb4
commit 8387400092
7 changed files with 43 additions and 52 deletions

View File

@@ -443,7 +443,6 @@ enum netdev_queue_state_t
};
struct netdev_queue {
spinlock_t lock;
struct net_device *dev;
struct Qdisc *qdisc;
unsigned long state;