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
2008-02-22 00:13:36 +01:00
提交者 Greg Kroah-Hartman
父节点 64cc2dd937
当前提交 3503510064

查看文件

@@ -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;