From: Alan Cox Date: Fri, 24 Sep 2010 14:49:18 +0000 (+0100) Subject: tty: Fix warning left over from TIOCGICOUNT changes X-Git-Tag: v2.6.37-rc1~155^2~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a9e2e06015201c32c43d3615c9bf5e0d4efb4302;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git tty: Fix warning left over from TIOCGICOUNT changes Signed-off-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/serial/ssu100.c b/drivers/usb/serial/ssu100.c index 8bd60e3..f5312dd333 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);