Browse Source

USB: remove incorrect struct class_device from the printer gadget

This field does nothing, and should not be allowed to stick around
incase someone gets any other ideas...

Signed-off-by: Tony Jones <tonyj@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Tony Jones 18 năm trước cách đây
mục cha
commit
3503510064
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      drivers/usb/gadget/printer.c

+ 0 - 1
drivers/usb/gadget/printer.c

@@ -92,7 +92,6 @@ struct printer_dev {
 	u8			*current_rx_buf;
 	u8			printer_status;
 	u8			reset_printer;
-	struct class_device	*printer_class_dev;
 	struct cdev		printer_cdev;
 	struct device		*pdev;
 	u8			printer_cdev_open;