nozomi: Fix warning from the previous TIOCGCOUNT changes
authorAlan Cox <alan@linux.intel.com>
Tue, 26 Oct 2010 14:56:34 +0000 (15:56 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 9 Nov 2010 22:49:38 +0000 (14:49 -0800)
Just remove a now unused variable

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/nozomi.c

index dd3f9b1..294d03e 100644 (file)
@@ -1828,7 +1828,6 @@ static int ntty_ioctl(struct tty_struct *tty, struct file *file,
                      unsigned int cmd, unsigned long arg)
 {
        struct port *port = tty->driver_data;
-       void __user *argp = (void __user *)arg;
        int rval = -ENOIOCTLCMD;
 
        DBG1("******** IOCTL, cmd: %d", cmd);