USB: opticon: move private urb initialisation to attach
authorJohan Hovold <jhovold@gmail.com>
Sun, 18 Nov 2012 12:23:22 +0000 (13:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 21:33:54 +0000 (13:33 -0800)
commit0b8718a264f58b096753e29f7e04f188bf64938e
tree348b0ed3f4f85c210b07009786064593b35bfce4
parentf38c46021aaa0871a96bd922ccbcc9d61c4ae49e
USB: opticon: move private urb initialisation to attach

There no need to reinitialise the private urb at every open.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/opticon.c