USB: serial: remove unnecessary re-initialisation of generic urbs
authorJohan Hovold <jhovold@gmail.com>
Wed, 17 Mar 2010 22:05:54 +0000 (23:05 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:33 +0000 (13:21 -0700)
commit056afc0f01701c4c779ac5b4f2dd9058063f337c
tree9700b245fd8ce0cb0720c160d18fc87a0260801c
parent41bd72f9041def8e3334d3e3693862d078f5cb9a
USB: serial: remove unnecessary re-initialisation of generic urbs

The generic read and write bulk urbs are initialised when allocated in
usb_serial_probe. The only field that needs to be updated after that is
the transfer_buffer_length of the write urb.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/generic.c