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

Commit 4556143c authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman
Browse files

USB: serial: remove write_urb_busy field from usb_serial_port



Remove no longer used write_urb_busy field from struct usb_serial_port.

Signed-off-by: default avatarJohan Hovold <jhovold@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent da280e34
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -62,7 +62,6 @@ enum port_dev_state {
 * @bulk_out_size: the size of the bulk_out_buffer, in bytes.
 * @bulk_out_size: the size of the bulk_out_buffer, in bytes.
 * @write_urb: pointer to the bulk out struct urb for this port.
 * @write_urb: pointer to the bulk out struct urb for this port.
 * @write_fifo: kfifo used to buffer outgoing data
 * @write_fifo: kfifo used to buffer outgoing data
 * @write_urb_busy: port`s writing status
 * @bulk_out_buffers: pointers to the bulk out buffers for this port
 * @bulk_out_buffers: pointers to the bulk out buffers for this port
 * @write_urbs: pointers to the bulk out urbs for this port
 * @write_urbs: pointers to the bulk out urbs for this port
 * @write_urbs_free: status bitmap the for bulk out urbs
 * @write_urbs_free: status bitmap the for bulk out urbs
@@ -103,7 +102,6 @@ struct usb_serial_port {
	int			bulk_out_size;
	int			bulk_out_size;
	struct urb		*write_urb;
	struct urb		*write_urb;
	struct kfifo		write_fifo;
	struct kfifo		write_fifo;
	int			write_urb_busy;


	unsigned char		*bulk_out_buffers[2];
	unsigned char		*bulk_out_buffers[2];
	struct urb		*write_urbs[2];
	struct urb		*write_urbs[2];