]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
USB: mos7840: remove NULL-urb submission
authorJohan Hovold <jhovold@gmail.com>
Thu, 25 Oct 2012 16:56:32 +0000 (18:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Oct 2012 16:51:36 +0000 (09:51 -0700)
commitc48cddb5a8d4a2c76101f6260d19105347059513
tree0bfa016d65f56449aab55d245659cfc31a4cf72b
parent52fb227a7bddeb94b1e3a630755b232ddfc8a741
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>
drivers/usb/serial/mos7840.c