From: Alan Cox Date: Tue, 26 Oct 2010 14:56:34 +0000 (+0100) Subject: nozomi: Fix warning from the previous TIOCGCOUNT changes X-Git-Tag: v2.6.34.12~5 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d5bc8dade94aee3483960f4fa015b88d1764d982;p=karo-tx-linux.git nozomi: Fix warning from the previous TIOCGCOUNT changes commit 68e29655cc51761d60d5f27b2738816a5b13e415 upstream. Just remove a now unused variable Signed-off-by: Alan Cox Signed-off-by: Greg Kroah-Hartman Signed-off-by: Paul Gortmaker --- diff --git a/drivers/char/nozomi.c b/drivers/char/nozomi.c index 09244353478d..7ecca247ac2c 100644 --- a/drivers/char/nozomi.c +++ b/drivers/char/nozomi.c @@ -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);