Commit b943cee8 authored by Johan Hovold's avatar Johan Hovold

USB: serial: garmin_gps: drop unused timer initialisation

Drop out-commented timer expiry initialisation which would not even
compile anymore.
Reviewed-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent 74d471b5
...@@ -1402,7 +1402,6 @@ static int garmin_port_probe(struct usb_serial_port *port) ...@@ -1402,7 +1402,6 @@ static int garmin_port_probe(struct usb_serial_port *port)
timer_setup(&garmin_data_p->timer, timeout_handler, 0); timer_setup(&garmin_data_p->timer, timeout_handler, 0);
spin_lock_init(&garmin_data_p->lock); spin_lock_init(&garmin_data_p->lock);
INIT_LIST_HEAD(&garmin_data_p->pktlist); INIT_LIST_HEAD(&garmin_data_p->pktlist);
/* garmin_data_p->timer.expires = jiffies + session_timeout; */
garmin_data_p->port = port; garmin_data_p->port = port;
garmin_data_p->state = 0; garmin_data_p->state = 0;
garmin_data_p->flags = 0; garmin_data_p->flags = 0;
......
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