diff options
author | Johan Hovold <johan@kernel.org> | 2017-01-25 18:22:54 +0100 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2017-01-26 09:49:13 +0100 |
commit | 51211a3d9b59b5c00f81512c2a16d9f3f607c0d9 (patch) | |
tree | a6043f7e74b2f4fe33692660df2235fd030b324d /drivers/usb/serial/opticon.c | |
parent | USB: serial: ftdi_sio: clean up ioctl handler (diff) | |
download | linux-51211a3d9b59b5c00f81512c2a16d9f3f607c0d9.tar.xz linux-51211a3d9b59b5c00f81512c2a16d9f3f607c0d9.zip |
USB: serial: drop unused ASYNC flags
Do not report ASYNC_SKIP_TEST or ASYNC_AUTO_IRQ as being set in
TIOCGSERIAL handlers as these flags are not supported and do not really
make any sense for USB serial devices in the first place.
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/serial/opticon.c')
-rw-r--r-- | drivers/usb/serial/opticon.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/serial/opticon.c b/drivers/usb/serial/opticon.c index b3c64f557d60..3937b9c3cc69 100644 --- a/drivers/usb/serial/opticon.c +++ b/drivers/usb/serial/opticon.c @@ -343,7 +343,6 @@ static int get_serial_info(struct usb_serial_port *port, tmp.line = port->minor; tmp.port = 0; tmp.irq = 0; - tmp.flags = ASYNC_SKIP_TEST | ASYNC_AUTO_IRQ; tmp.xmit_fifo_size = 1024; tmp.baud_base = 9600; tmp.close_delay = 5*HZ; |