aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/libertas/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c
index b05a6f99a1b2..5fde636d1863 100644
--- a/drivers/net/wireless/libertas/main.c
+++ b/drivers/net/wireless/libertas/main.c
@@ -878,8 +878,6 @@ err_registerdev:
878 /* Stop the thread servicing the interrupts */ 878 /* Stop the thread servicing the interrupts */
879 wake_up_interruptible(&priv->mainthread.waitq); 879 wake_up_interruptible(&priv->mainthread.waitq);
880 wlan_terminate_thread(&priv->mainthread); 880 wlan_terminate_thread(&priv->mainthread);
881 kfree(priv->adapter);
882 free_netdev(dev);
883done: 881done:
884 lbs_deb_leave_args(LBS_DEB_NET, "ret %d", ret); 882 lbs_deb_leave_args(LBS_DEB_NET, "ret %d", ret);
885 return ret; 883 return ret;