USB: serial: garmin_gps: drop unused timer initialisation
Drop out-commented timer expiry initialisation which would not even compile anymore. Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org>
This commit is contained in:
parent
74d471b598
commit
b943cee8a5
|
@ -1402,7 +1402,6 @@ static int garmin_port_probe(struct usb_serial_port *port)
|
|||
timer_setup(&garmin_data_p->timer, timeout_handler, 0);
|
||||
spin_lock_init(&garmin_data_p->lock);
|
||||
INIT_LIST_HEAD(&garmin_data_p->pktlist);
|
||||
/* garmin_data_p->timer.expires = jiffies + session_timeout; */
|
||||
garmin_data_p->port = port;
|
||||
garmin_data_p->state = 0;
|
||||
garmin_data_p->flags = 0;
|
||||
|
|
Loading…
Reference in New Issue