From d33008a0dde7a809af8b3720301b62983c80b2df Mon Sep 17 00:00:00 2001 From: Oliver Neukum Date: Thu, 10 Apr 2003 22:15:15 -0700 Subject: [PATCH] [PATCH] USB: remove configuration change from pegasus.c the driver should not mess with configurations here. --- drivers/usb/net/pegasus.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/usb/net/pegasus.c b/drivers/usb/net/pegasus.c index 565efde4595f8..c2cdaaa8ef180 100644 --- a/drivers/usb/net/pegasus.c +++ b/drivers/usb/net/pegasus.c @@ -1171,10 +1171,6 @@ static int pegasus_probe(struct usb_interface *intf, pegasus_t *pegasus; int dev_index = id - pegasus_ids; - if (usb_set_configuration(dev, dev->config[0].desc.bConfigurationValue)) { - err("usb_set_configuration() failed"); - return -ENODEV; - } if (!(pegasus = kmalloc(sizeof (struct pegasus), GFP_KERNEL))) { err("out of memory allocating device structure"); return -ENOMEM; -- 2.53.0