summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2010-09-24 16:49:18 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-22 19:20:05 +0200
commita9e2e06015201c32c43d3615c9bf5e0d4efb4302 (patch)
tree23f79daebf23efe74f9291311602a7720c7265d1 /drivers/usb/serial
parenttty: icount changeover for other main devices (diff)
downloadlinux-a9e2e06015201c32c43d3615c9bf5e0d4efb4302.tar.xz
linux-a9e2e06015201c32c43d3615c9bf5e0d4efb4302.zip
tty: Fix warning left over from TIOCGICOUNT changes
Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r--drivers/usb/serial/ssu100.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/serial/ssu100.c b/drivers/usb/serial/ssu100.c
index 8bd60e3c8b28..f5312dd3331b 100644
--- a/drivers/usb/serial/ssu100.c
+++ b/drivers/usb/serial/ssu100.c
@@ -444,8 +444,6 @@ static int ssu100_ioctl(struct tty_struct *tty, struct file *file,
unsigned int cmd, unsigned long arg)
{
struct usb_serial_port *port = tty->driver_data;
- struct ssu100_port_private *priv = usb_get_serial_port_data(port);
- void __user *user_arg = (void __user *)arg;
dbg("%s cmd 0x%04x", __func__, cmd);