From: Arun Bhanu <arun@bhanu.net>
To: linux-kernel@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@suse.de>,
Andrew Morton <akpm@linux-foundation.org>,
Stefani Seibold <stefani@seibold.net>,
Alan Cox <alan@linux.intel.com>, Andi Kleen <ak@linux.intel.com>,
Arun Bhanu <arun@bhanu.net>
Subject: [PATCH] drivers/char/nozomi.c: fix unused variable compiler warning
Date: Sun, 7 Nov 2010 23:20:55 +0800 [thread overview]
Message-ID: <1289143255-587-1-git-send-email-arun@bhanu.net> (raw)
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
reply other threads:[~2010-11-07 15:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1289143255-587-1-git-send-email-arun@bhanu.net \
--to=arun@bhanu.net \
--cc=ak@linux.intel.com \
--cc=akpm@linux-foundation.org \
--cc=alan@linux.intel.com \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=stefani@seibold.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®