Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 35035100 authored by Tony Jones's avatar Tony Jones Committed by Greg Kroah-Hartman
Browse files

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: default avatarTony Jones <tonyj@suse.de>
Signed-off-by: default avatarKay Sievers <kay.sievers@vrfy.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 64cc2dd9
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;