]> git.baikalelectronics.ru Git - kernel.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>
Thu, 25 Oct 2012 18:11:19 +0000 (11:11 -0700)
commitece8da2af6c28a473a9268f0fe12baec1889c8ee
treef9d9ea23d793f28baa76b0662f86fc367f1381d6
parent02c0c2bcaadc8e68652ebd5590cfadc34ba3253b
USB: mos7840: remove NULL-urb submission

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>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/mos7840.c