diff options
author | David S. Miller <davem@davemloft.net> | 2008-07-17 03:53:03 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-17 22:21:30 -0400 |
commit | 83874000929ed63aef30b44083a9f713135ff040 (patch) | |
tree | 7646fd185751cad8665eca19aa3f87d13c37eade /include/linux/netdevice.h | |
parent | c7e4f3bbb4ba4e48ab3b529d5016e454cee1ccd6 (diff) |
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>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 3170bcef734b..9c5a68850114 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -443,7 +443,6 @@ enum netdev_queue_state_t | |||
443 | }; | 443 | }; |
444 | 444 | ||
445 | struct netdev_queue { | 445 | struct netdev_queue { |
446 | spinlock_t lock; | ||
447 | struct net_device *dev; | 446 | struct net_device *dev; |
448 | struct Qdisc *qdisc; | 447 | struct Qdisc *qdisc; |
449 | unsigned long state; | 448 | unsigned long state; |