summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2010-10-26 16:56:34 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-11-09 23:49:38 +0100
commit68e29655cc51761d60d5f27b2738816a5b13e415 (patch)
tree13d6c6c186892d2631c8d9260a7119568ecefd3e
parenttty: fix warning in synclink driver (diff)
downloadlinux-68e29655cc51761d60d5f27b2738816a5b13e415.tar.xz
linux-68e29655cc51761d60d5f27b2738816a5b13e415.zip
nozomi: Fix warning from the previous TIOCGCOUNT changes
Just remove a now unused variable Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/char/nozomi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/nozomi.c b/drivers/char/nozomi.c
index dd3f9b1f11b4..294d03e8c61a 100644
--- a/drivers/char/nozomi.c
+++ b/drivers/char/nozomi.c
@@ -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);