tty: Fix warning left over from TIOCGICOUNT changes
authorAlan Cox <alan@linux.intel.com>
Fri, 24 Sep 2010 14:49:18 +0000 (15:49 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Oct 2010 17:20:05 +0000 (10:20 -0700)
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/ssu100.c

index 8bd60e3c8b28a70b5aa3165dc73e62903dc30356..f5312dd3331b2b44de0bb1944fb11559e0a5248a 100644 (file)
@@ -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);