]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 17 May 2012 15:21:38 +0000 (11:21 -0400)
commit 68e29655cc51761d60d5f27b2738816a5b13e415 upstream.

Just remove a now unused variable

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

index 09244353478d166f9486e828ec66a504c1ec08be..7ecca247ac2cb4ae52e37745cb5a0d0fadab608a 100644 (file)
@@ -1829,7 +1829,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);