Skip to contentSkip to conversation

hso: Fix unused variable warning

PATCH Applied Alan Cox 2 participants 2 messages Nov 15, 2010

Subsystems (4)
lore
Share & tools
lore

Alan Cox

author
#0 lore raw

PATCH 1/1 hso: Fix unused variable warning

From: Alan Cox <[email protected]>

Fallout from the TIOCGICOUNT work

---

 drivers/net/usb/hso.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/net/usb/hso.c +0 -1
index b154a94..be8cc2a 100644
@@ -1745,7 +1745,6 @@ static int hso_serial_ioctl(struct tty_struct *tty, struct file *file,
 			    unsigned int cmd, unsigned long arg)
 {
 	struct hso_serial *serial =  get_serial_by_tty(tty);
-	void __user *uarg = (void __user *)arg;
 	int ret = 0;
 	D4("IOCTL cmd: %d, arg: %ld", cmd, arg);