aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/ccg/u_ether.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/ccg/u_ether.c')
-rw-r--r--drivers/staging/ccg/u_ether.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ccg/u_ether.c b/drivers/staging/ccg/u_ether.c
index 1154a99dc8db..d0dabcf015a9 100644
--- a/drivers/staging/ccg/u_ether.c
+++ b/drivers/staging/ccg/u_ether.c
@@ -827,7 +827,7 @@ void gether_cleanup(void)
return;
unregister_netdev(the_dev->net);
- flush_work_sync(&the_dev->work);
+ flush_work(&the_dev->work);
free_netdev(the_dev->net);
the_dev = NULL;