diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-08-07 16:26:55 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-08-07 16:26:55 -0400 |
commit | 943d56b0a578cfc10e0340c6f8d6b8795d380e67 (patch) | |
tree | 95d3366c5cf0baf2a1cb0bbeee63e2c86ee9758a /drivers/bluetooth/hci_usb.c | |
parent | 28111eb2f5087c5aa5ec3697388f6c7d354b2ad8 (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.c | 8 |
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 | ||
65 | static int ignore; | ||
66 | static int ignore_dga; | 65 | static int ignore_dga; |
67 | static int ignore_csr; | 66 | static int ignore_csr; |
68 | static int ignore_sniffer; | 67 | static int ignore_sniffer; |
@@ -74,7 +73,7 @@ static int reset; | |||
74 | static int isoc = 2; | 73 | static int isoc = 2; |
75 | #endif | 74 | #endif |
76 | 75 | ||
77 | #define VERSION "2.9" | 76 | #define VERSION "2.10" |
78 | 77 | ||
79 | static struct usb_driver hci_usb_driver; | 78 | static 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) | |||
1108 | module_init(hci_usb_init); | 1107 | module_init(hci_usb_init); |
1109 | module_exit(hci_usb_exit); | 1108 | module_exit(hci_usb_exit); |
1110 | 1109 | ||
1111 | module_param(ignore, bool, 0644); | ||
1112 | MODULE_PARM_DESC(ignore, "Ignore devices from the matching table"); | ||
1113 | |||
1114 | module_param(ignore_dga, bool, 0644); | 1110 | module_param(ignore_dga, bool, 0644); |
1115 | MODULE_PARM_DESC(ignore_dga, "Ignore devices with id 08fd:0001"); | 1111 | MODULE_PARM_DESC(ignore_dga, "Ignore devices with id 08fd:0001"); |
1116 | 1112 | ||