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/bfusb.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/bfusb.c')
-rw-r--r-- | drivers/bluetooth/bfusb.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/bluetooth/bfusb.c b/drivers/bluetooth/bfusb.c index 0c211adbc063..90a094634630 100644 --- a/drivers/bluetooth/bfusb.c +++ b/drivers/bluetooth/bfusb.c | |||
@@ -43,9 +43,7 @@ | |||
43 | #define BT_DBG(D...) | 43 | #define BT_DBG(D...) |
44 | #endif | 44 | #endif |
45 | 45 | ||
46 | #define VERSION "1.1" | 46 | #define VERSION "1.2" |
47 | |||
48 | static int ignore = 0; | ||
49 | 47 | ||
50 | static struct usb_driver bfusb_driver; | 48 | static struct usb_driver bfusb_driver; |
51 | 49 | ||
@@ -656,9 +654,6 @@ static int bfusb_probe(struct usb_interface *intf, const struct usb_device_id *i | |||
656 | 654 | ||
657 | BT_DBG("intf %p id %p", intf, id); | 655 | BT_DBG("intf %p id %p", intf, id); |
658 | 656 | ||
659 | if (ignore) | ||
660 | return -ENODEV; | ||
661 | |||
662 | /* Check number of endpoints */ | 657 | /* Check number of endpoints */ |
663 | if (intf->cur_altsetting->desc.bNumEndpoints < 2) | 658 | if (intf->cur_altsetting->desc.bNumEndpoints < 2) |
664 | return -EIO; | 659 | return -EIO; |
@@ -795,9 +790,6 @@ static void __exit bfusb_exit(void) | |||
795 | module_init(bfusb_init); | 790 | module_init(bfusb_init); |
796 | module_exit(bfusb_exit); | 791 | module_exit(bfusb_exit); |
797 | 792 | ||
798 | module_param(ignore, bool, 0644); | ||
799 | MODULE_PARM_DESC(ignore, "Ignore devices from the matching table"); | ||
800 | |||
801 | MODULE_AUTHOR("Marcel Holtmann <marcel@holtmann.org>"); | 793 | MODULE_AUTHOR("Marcel Holtmann <marcel@holtmann.org>"); |
802 | MODULE_DESCRIPTION("BlueFRITZ! USB driver ver " VERSION); | 794 | MODULE_DESCRIPTION("BlueFRITZ! USB driver ver " VERSION); |
803 | MODULE_VERSION(VERSION); | 795 | MODULE_VERSION(VERSION); |