From: Alan Cox <alan@linux.intel.com>
To: linux-next@vger.kernel.org, greg@kroah.com, linux-serial@vger.kernel.org
Subject: [PATCH] tty: Fix warning left over from TIOCGICOUNT changes
Date: Fri, 24 Sep 2010 15:49:18 +0100 [thread overview]
Message-ID: <20100924144750.11385.24596.stgit@localhost.localdomain> (raw)
Signed-off-by: Alan Cox <alan@linux.intel.com>
---
drivers/usb/serial/ssu100.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/serial/ssu100.c b/drivers/usb/serial/ssu100.c
index 8bd60e3..f5312dd 100644
--- a/drivers/usb/serial/ssu100.c
+++ b/drivers/usb/serial/ssu100.c
@@ -444,8 +444,6 @@ static int ssu100_ioctl(struct tty_struct *tty, struct file *file,
unsigned int cmd, unsigned long arg)
{
struct usb_serial_port *port = tty->driver_data;
- struct ssu100_port_private *priv = usb_get_serial_port_data(port);
- void __user *user_arg = (void __user *)arg;
dbg("%s cmd 0x%04x", __func__, cmd);
--
Elephants that sit in trees Beware craters beneath trees
Really hate Dutch Elm disease Lest they have Dutch Elm disease
In the boughs they sit and sun For from on high there may thump
A branch gives way down they come An elephant in a grump
Grumpily sat in the plants In the bushes sat resigned
Picking splinters from their pants Peeling you from his behind
reply other threads:[~2010-09-24 14:49 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=20100924144750.11385.24596.stgit@localhost.localdomain \
--to=alan@linux.intel.com \
--cc=greg@kroah.com \
--cc=linux-next@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).