summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/if_usb.h
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@debian.org>2007-11-20 23:43:55 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-29 00:04:51 +0100
commitbe13f1897f76a4b395c3d572a18b2802fd521946 (patch)
tree377723a5010c45f56099f44f91b9ed798c893a76 /drivers/net/wireless/libertas/if_usb.h
parentlibertas: mark module_init/exit functions as __init/__exit (diff)
downloadlinux-be13f1897f76a4b395c3d572a18b2802fd521946.tar.xz
linux-be13f1897f76a4b395c3d572a18b2802fd521946.zip
libertas: reset devices upon disconnect rather than module unloading
1) Do not reset libertas devices upon module unload. We're unloading the module, we're not killing off devices. 2) Instead, reset libertas devices inside if_usb_disconnect, as we're killing off interfaces and so on. 3) Resetting via disconnect callback means we no longer need to keep track of probed libertas devices; kill off that list (and its wonderful lack of locking..), as well. Drop a useless comment as well. Signed-off-by: Andres Salomon <dilinger@debian.org> Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/if_usb.h')
-rw-r--r--drivers/net/wireless/libertas/if_usb.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/libertas/if_usb.h b/drivers/net/wireless/libertas/if_usb.h
index 9b4230864c43..f53ddb251586 100644
--- a/drivers/net/wireless/libertas/if_usb.h
+++ b/drivers/net/wireless/libertas/if_usb.h
@@ -1,8 +1,6 @@
#ifndef _LBS_IF_USB_H
#define _LBS_IF_USB_H
-#include <linux/list.h>
-
/**
* This file contains definition for USB interface.
*/
@@ -44,7 +42,6 @@ struct read_cb_info {
/** USB card description structure*/
struct usb_card_rec {
- struct list_head list;
struct net_device *eth_dev;
struct usb_device *udev;
struct urb *rx_urb, *tx_urb;