diff options
author | Johan Hovold <jhovold@gmail.com> | 2013-12-29 19:22:55 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-03 12:31:46 -0800 |
commit | 4d5147ec90531d11e7677e2c38941fc18e160641 (patch) | |
tree | 5ec91ed685b7dc0e7bf1e67d256945bdd2c54441 /drivers/usb/serial/pl2303.c | |
parent | 5c6b98dd0437ba8c1b515bf11357784335613d65 (diff) | |
download | linux-4d5147ec90531d11e7677e2c38941fc18e160641.tar.gz linux-4d5147ec90531d11e7677e2c38941fc18e160641.tar.bz2 linux-4d5147ec90531d11e7677e2c38941fc18e160641.zip |
USB: serial: clean up ioctl debugging
Remove redundant ioctl debugging from subdrivers. The ioctl request code
has already been logged by usb-serial core.
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/pl2303.c')
-rw-r--r-- | drivers/usb/serial/pl2303.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c index beb8edce4ef2..9a7dfa3738d9 100644 --- a/drivers/usb/serial/pl2303.c +++ b/drivers/usb/serial/pl2303.c @@ -648,8 +648,6 @@ static int pl2303_ioctl(struct tty_struct *tty, struct serial_struct ser; struct usb_serial_port *port = tty->driver_data; - dev_dbg(&port->dev, "%s cmd = 0x%04x\n", __func__, cmd); - switch (cmd) { case TIOCGSERIAL: memset(&ser, 0, sizeof ser); @@ -663,7 +661,6 @@ static int pl2303_ioctl(struct tty_struct *tty, return 0; default: - dev_dbg(&port->dev, "%s not supported = 0x%04x\n", __func__, cmd); break; } return -ENOIOCTLCMD; |