net: Clean up explicit ->tx_queue references in link watch.
authorDavid S. Miller <davem@davemloft.net>
Wed, 9 Jul 2008 06:01:06 +0000 (23:01 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Jul 2008 06:01:06 +0000 (23:01 -0700)
commit6fa9864b53f0680e432a2c431c2cf2055daa3a88
tree77e6964f84775d5f2ee152c249ee26aa326df4ac
parent3e745dd6950d72d19e4cb30dc44307e8d6671864
net: Clean up explicit ->tx_queue references in link watch.

First, we add a qdisc_tx_changing() helper which returns true if the
qdisc attachment is in transition.

Second, we remove an assertion warning which is of limited value and
is hard to express precisely in a multiqueue environment.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sch_generic.h
net/core/link_watch.c