projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec1e561
)
hso: Fix unused variable warning
author
Alan Cox
<alan@linux.intel.com>
Mon, 15 Nov 2010 07:30:42 +0000
(07:30 +0000)
committer
David 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
patch
|
blob
|
history
diff --git
a/drivers/net/usb/hso.c
b/drivers/net/usb/hso.c
index b154a94de03e61927cdc063c8671867108cf7b89..be8cc2a8e2137105ab85060472b748f4423f601d 100644
(file)
--- 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);