aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_usb.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-08-07 16:26:55 -0400
committerMarcel Holtmann <marcel@holtmann.org>2008-08-07 16:26:55 -0400
commit943d56b0a578cfc10e0340c6f8d6b8795d380e67 (patch)
tree95d3366c5cf0baf2a1cb0bbeee63e2c86ee9758a /drivers/bluetooth/hci_usb.c
parent28111eb2f5087c5aa5ec3697388f6c7d354b2ad8 (diff)
[Bluetooth] Removal of unnecessary ignore module parameter
This removes the unnecessary ignore parameter, which is useless. There are alternate methods of kicking a driver off an USB device. Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/hci_usb.c')
-rw-r--r--drivers/bluetooth/hci_usb.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/bluetooth/hci_usb.c b/drivers/bluetooth/hci_usb.c
index c33bb59ed1fa..e397572bf574 100644
--- a/drivers/bluetooth/hci_usb.c
+++ b/drivers/bluetooth/hci_usb.c
@@ -62,7 +62,6 @@
62#define URB_ZERO_PACKET 0 62#define URB_ZERO_PACKET 0
63#endif 63#endif
64 64
65static int ignore;
66static int ignore_dga; 65static int ignore_dga;
67static int ignore_csr; 66static int ignore_csr;
68static int ignore_sniffer; 67static int ignore_sniffer;
@@ -74,7 +73,7 @@ static int reset;
74static int isoc = 2; 73static int isoc = 2;
75#endif 74#endif
76 75
77#define VERSION "2.9" 76#define VERSION "2.10"
78 77
79static struct usb_driver hci_usb_driver; 78static struct usb_driver hci_usb_driver;
80 79
@@ -801,7 +800,7 @@ static int hci_usb_probe(struct usb_interface *intf, const struct usb_device_id
801 id = match; 800 id = match;
802 } 801 }
803 802
804 if (ignore || id->driver_info & HCI_IGNORE) 803 if (id->driver_info & HCI_IGNORE)
805 return -ENODEV; 804 return -ENODEV;
806 805
807 if (ignore_dga && id->driver_info & HCI_DIGIANSWER) 806 if (ignore_dga && id->driver_info & HCI_DIGIANSWER)
@@ -1108,9 +1107,6 @@ static void __exit hci_usb_exit(void)
1108module_init(hci_usb_init); 1107module_init(hci_usb_init);
1109module_exit(hci_usb_exit); 1108module_exit(hci_usb_exit);
1110 1109
1111module_param(ignore, bool, 0644);
1112MODULE_PARM_DESC(ignore, "Ignore devices from the matching table");
1113
1114module_param(ignore_dga, bool, 0644); 1110module_param(ignore_dga, bool, 0644);
1115MODULE_PARM_DESC(ignore_dga, "Ignore devices with id 08fd:0001"); 1111MODULE_PARM_DESC(ignore_dga, "Ignore devices with id 08fd:0001");
1116 1112