From: Alan Cox Date: Mon, 15 Nov 2010 07:30:42 +0000 (+0000) Subject: hso: Fix unused variable warning X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ce5a121304af02d02489e86efb6ae26a67f95e52;p=linux-beck.git hso: Fix unused variable warning Fallout from the TIOCGICOUNT work Signed-off-by: Alan Cox Signed-off-by: David S. Miller --- diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c index b154a94de03e..be8cc2a8e213 100644 --- a/drivers/net/usb/hso.c +++ b/drivers/net/usb/hso.c @@ -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);