mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-20 12:30:13 +07:00
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>
This commit is contained in:
parent
64cc2dd937
commit
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;
|
||||
|
Loading…
Reference in New Issue
Block a user