From: Tony Jones Date: Thu, 21 Feb 2008 23:13:36 +0000 (+0100) Subject: USB: remove incorrect struct class_device from the printer gadget X-Git-Tag: v2.6.25-rc4~7^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=350351006426471458fe50b1de1160200a1ba138;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/gadget/printer.c b/drivers/usb/gadget/printer.c index 4f6bfa1..2c32bd0 100644 --- a/drivers/usb/gadget/printer.c +++ b/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;