Skip to contentSkip to conversation

removal of unnecessary ignore module parameter

PATCH In review Oliver Neukum 2 participants 2 messages Aug 6, 2008 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 removal of unnecessary ignore module parameter

This removes the ignore parameter, which is useless. There are alternate methodes of kicking a driver off a usb device.

Regards
Oliver

---

drivers/bluetooth/hci_usb.c renamed from drivers/bluetooth/hci_usb.c.alt +1 -5
@@ -62,7 +62,6 @@
 #define URB_ZERO_PACKET 0
 #endif
 
-static int ignore;
 static int ignore_dga;
 static int ignore_csr;
 static int ignore_sniffer;
@@ -801,7 +800,7 @@ static int hci_usb_probe(struct usb_inte
 			id = match;
 	}
 
-	if (ignore || id->driver_info & HCI_IGNORE)
+	if (id->driver_info & HCI_IGNORE)
 		return -ENODEV;
 
 	if (ignore_dga && id->driver_info & HCI_DIGIANSWER)
@@ -1108,9 +1107,6 @@ static void __exit hci_usb_exit(void)
 module_init(hci_usb_init);
 module_exit(hci_usb_exit);
 
-module_param(ignore, bool, 0644);
-MODULE_PARM_DESC(ignore, "Ignore devices from the matching table");
-
 module_param(ignore_dga, bool, 0644);
 MODULE_PARM_DESC(ignore_dga, "Ignore devices with id 08fd:0001");