drivers/char/nozomi.c: fix unused variable compiler warning
PATCH 1/1 drivers/char/nozomi.c: fix unused variable compiler warning
Remove the unused variable argp to fix the following warning.
drivers/char/nozomi.c: In function ‘ntty_ioctl’:drivers/char/nozomi.c:1831:8: warning: unused variable ‘argp’
Signed-off-by Arun Bhanu <[email protected]>
--- drivers/char/nozomi.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/char/nozomi.c +0 -1
@@ -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);
Signature · 1 line
1.7.3.2