mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 15:11:16 +00:00
USB: Remove unused timeout from io_edgeport.c
timeout variable is not used anywhere in int write_cmd_usb, remove it Signed-off-by: Huzaifa Sidhpurwala <huzaifas@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
2cd5bb29a4
commit
e4738e29be
1 changed files with 0 additions and 3 deletions
|
@ -2343,7 +2343,6 @@ static int write_cmd_usb(struct edgeport_port *edge_port,
|
||||||
usb_get_serial_data(edge_port->port->serial);
|
usb_get_serial_data(edge_port->port->serial);
|
||||||
int status = 0;
|
int status = 0;
|
||||||
struct urb *urb;
|
struct urb *urb;
|
||||||
int timeout;
|
|
||||||
|
|
||||||
usb_serial_debug_data(debug, &edge_port->port->dev,
|
usb_serial_debug_data(debug, &edge_port->port->dev,
|
||||||
__func__, length, buffer);
|
__func__, length, buffer);
|
||||||
|
@ -2376,8 +2375,6 @@ static int write_cmd_usb(struct edgeport_port *edge_port,
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* wait for command to finish */
|
|
||||||
timeout = COMMAND_TIMEOUT;
|
|
||||||
#if 0
|
#if 0
|
||||||
wait_event(&edge_port->wait_command, !edge_port->commandPending);
|
wait_event(&edge_port->wait_command, !edge_port->commandPending);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue