Skip to contentSkip to conversation

nozomi: Fix warning from the previous TIOCGCOUNT changes

PATCH RESEND New Alan Cox 1 participant 1 message Oct 26, 2010

Subsystems (2)
lore
Share & tools
lore

Alan Cox

author
#0 lore raw

PATCH RESEND 1/1 nozomi: Fix warning from the previous TIOCGCOUNT changes

From: Alan Cox <[email protected]>

Just remove a now unused variable

---

 drivers/char/nozomi.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/char/nozomi.c +0 -1
index dd3f9b1..294d03e 100644
@@ -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);