net/dsa: don't use flush_scheduled_work()
authorTejun Heo <tj@kernel.org>
Fri, 24 Dec 2010 14:59:06 +0000 (15:59 +0100)
committerTejun Heo <tj@kernel.org>
Fri, 24 Dec 2010 14:59:06 +0000 (15:59 +0100)
commit7f6b0db9f63ba423d989e29f6318fe7e68760421
tree6ea4b47352391656453f48808c6f689697adeea0
parent158fa67753e1eb3edfa5a2d1868666d89d1cf09f
net/dsa: don't use flush_scheduled_work()

flush_scheduled_work() is deprecated and scheduled to be removed.
Directly flush dst->link_poll_work on remove instead.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Lennert Buytenhek <buytenh@wantstofly.org>
net/dsa/dsa.c