]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
hso: Fix unused variable warning
authorAlan Cox <alan@linux.intel.com>
Mon, 15 Nov 2010 07:30:42 +0000 (07:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Nov 2010 19:13:18 +0000 (11:13 -0800)
Fallout from the TIOCGICOUNT work

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/hso.c

index b154a94de03e61927cdc063c8671867108cf7b89..be8cc2a8e2137105ab85060472b748f4423f601d 100644 (file)
@@ -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);