diff options
author | Tony Jones <tonyj@suse.de> | 2008-02-22 00:13:36 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-03-04 14:57:44 -0800 |
commit | 350351006426471458fe50b1de1160200a1ba138 (patch) | |
tree | cb1b5e5d7d55113eee60168d90267ca338132c9c /drivers/usb | |
parent | 64cc2dd937298324c77c7d584495052547c64a6a (diff) | |
download | kernel_samsung_aries-350351006426471458fe50b1de1160200a1ba138.zip kernel_samsung_aries-350351006426471458fe50b1de1160200a1ba138.tar.gz kernel_samsung_aries-350351006426471458fe50b1de1160200a1ba138.tar.bz2 |
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/gadget/printer.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; |