aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2010-10-26 15:56:34 +0100
committerPaul Gortmaker <paul.gortmaker@windriver.com>2012-05-17 11:21:38 -0400
commitd5bc8dade94aee3483960f4fa015b88d1764d982 (patch)
tree3cb4aa353ec03678ec89100510f012b0e39f5f6a
parentcf7ac236a8a97410d084ff15957b43449ae88d46 (diff)
downloadlinux-linaro-stable-d5bc8dade94aee3483960f4fa015b88d1764d982.tar.gz
nozomi: Fix warning from the previous TIOCGCOUNT changes
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>
-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 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);