]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
USB: remove incorrect struct class_device from the printer gadget
authorTony Jones <tonyj@suse.de>
Thu, 21 Feb 2008 23:13:36 +0000 (00:13 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 4 Mar 2008 22:57:44 +0000 (14:57 -0800)
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>
drivers/usb/gadget/printer.c

index 4f6bfa100f2ad009381190605cdb75c1ee4271ae..2c32bd08ee7db2c6051df00de37f709de9041a10 100644 (file)
@@ -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;