* [PATCH] drivers/char/nozomi.c: fix unused variable compiler warning
@ 2010-11-07 15:20 Arun Bhanu
0 siblings, 0 replies; only message in thread
From: Arun Bhanu @ 2010-11-07 15:20 UTC (permalink / raw)
To: linux-kernel
Cc: Greg Kroah-Hartman, Andrew Morton, Stefani Seibold, Alan Cox,
Andi Kleen, Arun Bhanu
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 <arun@bhanu.net>
---
drivers/char/nozomi.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/char/nozomi.c b/drivers/char/nozomi.c
index dd3f9b1..294d03e 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);
--
1.7.3.2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-11-07 15:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-07 15:20 [PATCH] drivers/char/nozomi.c: fix unused variable compiler warning Arun Bhanu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®