patch-2.3.11 linux/drivers/usb/printer.c

Next file: linux/drivers/usb/stopusb
Previous file: linux/drivers/usb/ohci.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.10/linux/drivers/usb/printer.c linux/drivers/usb/printer.c
@@ -318,7 +318,7 @@
 	}
 
         if (usb_set_configuration(dev, dev->config[0].bConfigurationValue)) {
-		printk(KERN_INFO "  Failed to set configuration\n");
+		printk(KERN_INFO "  Failed usb_set_configuration: printer\n");
 		return -1;
 	}
 #if 0
@@ -414,8 +414,6 @@
 
 void cleanup_module(void)
 {
-	unsigned int offset;
-
 	usb_deregister(&printer_driver);
 	unregister_chrdev(mymajor, "usblp");
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)