[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>
This commit is contained in:
@@ -43,9 +43,7 @@
|
||||
#define BT_DBG(D...)
|
||||
#endif
|
||||
|
||||
#define VERSION "1.1"
|
||||
|
||||
static int ignore = 0;
|
||||
#define VERSION "1.2"
|
||||
|
||||
static struct usb_driver bfusb_driver;
|
||||
|
||||
@@ -656,9 +654,6 @@ static int bfusb_probe(struct usb_interface *intf, const struct usb_device_id *i
|
||||
|
||||
BT_DBG("intf %p id %p", intf, id);
|
||||
|
||||
if (ignore)
|
||||
return -ENODEV;
|
||||
|
||||
/* Check number of endpoints */
|
||||
if (intf->cur_altsetting->desc.bNumEndpoints < 2)
|
||||
return -EIO;
|
||||
@@ -795,9 +790,6 @@ static void __exit bfusb_exit(void)
|
||||
module_init(bfusb_init);
|
||||
module_exit(bfusb_exit);
|
||||
|
||||
module_param(ignore, bool, 0644);
|
||||
MODULE_PARM_DESC(ignore, "Ignore devices from the matching table");
|
||||
|
||||
MODULE_AUTHOR("Marcel Holtmann <marcel@holtmann.org>");
|
||||
MODULE_DESCRIPTION("BlueFRITZ! USB driver ver " VERSION);
|
||||
MODULE_VERSION(VERSION);
|
||||
|
Reference in New Issue
Block a user