USB: mos7840: remove NULL-urb submission
authorJohan Hovold <jhovold@gmail.com>
Thu, 25 Oct 2012 16:56:32 +0000 (18:56 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 30 Oct 2012 23:27:03 +0000 (23:27 +0000)
commit9bddee8d24460a26107cf2ad1ff5c045772e307b
tree50efaf00ed4dc6a8542341609400a9df59e67564
parent1b5863712a104d321d7321077a2f484edddf5ef3
USB: mos7840: remove NULL-urb submission

commit 28c3ae9a8cf45f439c9a0779ebd0256e2ae72813 upstream.

The private int_urb is never allocated so the submission from the
control completion handler will always fail. Remove this odd piece of
broken code.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/usb/serial/mos7840.c