Drop out-commented timer expiry initialisation which would not even
compile anymore.

Signed-off-by: Johan Hovold <jo...@kernel.org>
---
 drivers/usb/serial/garmin_gps.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/serial/garmin_gps.c b/drivers/usb/serial/garmin_gps.c
index 677558c99a97..d22a84c95c07 100644
--- a/drivers/usb/serial/garmin_gps.c
+++ b/drivers/usb/serial/garmin_gps.c
@@ -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;
-- 
2.14.2

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to