summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/whiteheat.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-01-25 18:22:54 +0100
committerJohan Hovold <johan@kernel.org>2017-01-26 09:49:13 +0100
commit51211a3d9b59b5c00f81512c2a16d9f3f607c0d9 (patch)
treea6043f7e74b2f4fe33692660df2235fd030b324d /drivers/usb/serial/whiteheat.c
parentUSB: serial: ftdi_sio: clean up ioctl handler (diff)
downloadlinux-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/whiteheat.c')
-rw-r--r--drivers/usb/serial/whiteheat.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/serial/whiteheat.c b/drivers/usb/serial/whiteheat.c
index d3ea90bef84d..5ab65eb1dacc 100644
--- a/drivers/usb/serial/whiteheat.c
+++ b/drivers/usb/serial/whiteheat.c
@@ -487,7 +487,6 @@ static int whiteheat_ioctl(struct tty_struct *tty,
serstruct.type = PORT_16654;
serstruct.line = port->minor;
serstruct.port = port->port_number;
- serstruct.flags = ASYNC_SKIP_TEST | ASYNC_AUTO_IRQ;
serstruct.xmit_fifo_size = kfifo_size(&port->write_fifo);
serstruct.custom_divisor = 0;
serstruct.baud_base = 460800;