Skip to content

Commit 16adf5d

Browse files
Dave Jonesdavem330
authored andcommitted
usbnet: Remove over-broad module alias from zaurus.
This module and a bunch of dependancies are getting loaded on several of laptops I have (probably picking up the mobile broadband device), that have nothing to do with zaurus. Matching by class without any vendor/device pair isn't the right thing to do here, as it will prevent any other driver from correctly binding to it. (Or in the absense of a driver, will just waste time & memory by unnecessarily loading modules) Signed-off-by: Dave Jones <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 1a8690a commit 16adf5d

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

drivers/net/usb/zaurus.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -331,17 +331,7 @@ static const struct usb_device_id products [] = {
331331
ZAURUS_MASTER_INTERFACE,
332332
.driver_info = ZAURUS_PXA_INFO,
333333
},
334-
335-
336-
/* At least some of the newest PXA units have very different lies about
337-
* their standards support: they claim to be cell phones offering
338-
* direct access to their radios! (No, they don't conform to CDC MDLM.)
339-
*/
340334
{
341-
USB_INTERFACE_INFO(USB_CLASS_COMM, USB_CDC_SUBCLASS_MDLM,
342-
USB_CDC_PROTO_NONE),
343-
.driver_info = (unsigned long) &bogus_mdlm_info,
344-
}, {
345335
/* Motorola MOTOMAGX phones */
346336
USB_DEVICE_AND_INTERFACE_INFO(0x22b8, 0x6425, USB_CLASS_COMM,
347337
USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE),

0 commit comments

Comments
 (0)