linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tty: Fix warning left over from TIOCGICOUNT changes
@ 2010-09-24 14:49 Alan Cox
  0 siblings, 0 replies; only message in thread
From: Alan Cox @ 2010-09-24 14:49 UTC (permalink / raw)
  To: linux-next, greg, linux-serial

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-09-24 14:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-24 14:49 [PATCH] tty: Fix warning left over from TIOCGICOUNT changes Alan Cox

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).