diff options
Diffstat (limited to 'drivers/net/wireless/libertas/main.c')
-rw-r--r-- | drivers/net/wireless/libertas/main.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c index 3feddcc750ed..cb0359df355e 100644 --- a/drivers/net/wireless/libertas/main.c +++ b/drivers/net/wireless/libertas/main.c | |||
@@ -1157,8 +1157,6 @@ wlan_private *libertas_add_card(void *card, struct device *dmdev) | |||
1157 | priv->infra_open = 0; | 1157 | priv->infra_open = 0; |
1158 | priv->hotplug_device = dmdev; | 1158 | priv->hotplug_device = dmdev; |
1159 | 1159 | ||
1160 | SET_MODULE_OWNER(dev); | ||
1161 | |||
1162 | /* Setup the OS Interface to our functions */ | 1160 | /* Setup the OS Interface to our functions */ |
1163 | dev->open = libertas_open; | 1161 | dev->open = libertas_open; |
1164 | dev->hard_start_xmit = libertas_pre_start_xmit; | 1162 | dev->hard_start_xmit = libertas_pre_start_xmit; |
@@ -1340,8 +1338,6 @@ int libertas_add_mesh(wlan_private *priv, struct device *dev) | |||
1340 | mesh_dev->priv = priv; | 1338 | mesh_dev->priv = priv; |
1341 | priv->mesh_dev = mesh_dev; | 1339 | priv->mesh_dev = mesh_dev; |
1342 | 1340 | ||
1343 | SET_MODULE_OWNER(mesh_dev); | ||
1344 | |||
1345 | mesh_dev->open = libertas_mesh_open; | 1341 | mesh_dev->open = libertas_mesh_open; |
1346 | mesh_dev->hard_start_xmit = libertas_mesh_pre_start_xmit; | 1342 | mesh_dev->hard_start_xmit = libertas_mesh_pre_start_xmit; |
1347 | mesh_dev->stop = libertas_mesh_close; | 1343 | mesh_dev->stop = libertas_mesh_close; |