USB: serial: metro-usb: drop redundant URB reinitialisation
authorJohan Hovold <johan@kernel.org>
Wed, 8 Feb 2017 12:49:19 +0000 (13:49 +0100)
committerJohan Hovold <johan@kernel.org>
Wed, 8 Feb 2017 18:28:02 +0000 (19:28 +0100)
commitacfe27633b4c380a67956bd2f73fc9a2c932cc39
treeb5a2c60194ba6dad248c89824b394764fd6c0c22
parent168fc6c3c33ee7e9b2355e1a17d07e8313eb60f5
USB: serial: metro-usb: drop redundant URB reinitialisation

No need to reinitialise the interrupt-in URB with values that have not
changed before (some) resubmissions.

This also allows the interrupt-in callback to have a single path for URB
resubmission.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/metro-usb.c