Commit ce5a1213 authored by Alan Cox's avatar Alan Cox Committed by David S. Miller

hso: Fix unused variable warning

Fallout from the TIOCGICOUNT work
Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ec1e5610
...@@ -1745,7 +1745,6 @@ static int hso_serial_ioctl(struct tty_struct *tty, struct file *file, ...@@ -1745,7 +1745,6 @@ static int hso_serial_ioctl(struct tty_struct *tty, struct file *file,
unsigned int cmd, unsigned long arg) unsigned int cmd, unsigned long arg)
{ {
struct hso_serial *serial = get_serial_by_tty(tty); struct hso_serial *serial = get_serial_by_tty(tty);
void __user *uarg = (void __user *)arg;
int ret = 0; int ret = 0;
D4("IOCTL cmd: %d, arg: %ld", cmd, arg); D4("IOCTL cmd: %d, arg: %ld", cmd, arg);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment