Commit 68e29655 authored by Alan Cox's avatar Alan Cox Committed by Greg Kroah-Hartman

nozomi: Fix warning from the previous TIOCGCOUNT changes

Just remove a now unused variable
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent dc98d965
...@@ -1828,7 +1828,6 @@ static int ntty_ioctl(struct tty_struct *tty, struct file *file, ...@@ -1828,7 +1828,6 @@ static int ntty_ioctl(struct tty_struct *tty, struct file *file,
unsigned int cmd, unsigned long arg) unsigned int cmd, unsigned long arg)
{ {
struct port *port = tty->driver_data; struct port *port = tty->driver_data;
void __user *argp = (void __user *)arg;
int rval = -ENOIOCTLCMD; int rval = -ENOIOCTLCMD;
DBG1("******** IOCTL, cmd: %d", cmd); DBG1("******** IOCTL, cmd: %d", cmd);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment