diff options
Diffstat (limited to 'net/dsa/dsa.c')
-rw-r--r-- | net/dsa/dsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dsa/dsa.c b/net/dsa/dsa.c index 6112a12578b2..0c877a74e1f4 100644 --- a/net/dsa/dsa.c +++ b/net/dsa/dsa.c | |||
@@ -390,7 +390,7 @@ static int dsa_remove(struct platform_device *pdev) | |||
390 | if (dst->link_poll_needed) | 390 | if (dst->link_poll_needed) |
391 | del_timer_sync(&dst->link_poll_timer); | 391 | del_timer_sync(&dst->link_poll_timer); |
392 | 392 | ||
393 | flush_scheduled_work(); | 393 | flush_work_sync(&dst->link_poll_work); |
394 | 394 | ||
395 | for (i = 0; i < dst->pd->nr_chips; i++) { | 395 | for (i = 0; i < dst->pd->nr_chips; i++) { |
396 | struct dsa_switch *ds = dst->ds[i]; | 396 | struct dsa_switch *ds = dst->ds[i]; |