]> www.infradead.org Git - users/jedix/linux-maple.git/commit
USB: mos7840: remove NULL-urb submission
authorJohan Hovold <jhovold@gmail.com>
Thu, 25 Oct 2012 16:56:32 +0000 (18:56 +0200)
committerGuangyu Sun <guangyu.sun@oracle.com>
Tue, 6 Nov 2012 00:33:27 +0000 (16:33 -0800)
commit684477bea73e480493df1696eeb12e53cd82cc0b
tree0c283f68f409e80da3eaa122f00f6036fa9cc7d7
parentefdcea3ecd6d6da85ec0ea40d832ddfd77859f3d
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>
Signed-off-by: Guangyu Sun <guangyu.sun@oracle.com>
drivers/usb/serial/mos7840.c