USB: mos7720: remove incorrect read-urb check
authorJohan Hovold <jhovold@gmail.com>
Sun, 6 Nov 2011 18:06:26 +0000 (19:06 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Nov 2011 18:33:13 +0000 (10:33 -0800)
commit6d0f41abae30112b3cdca62c09370cc8801ee1f5
tree94e76bf754557517d92b482efba99da7b3dc3a88
parent4556143cab73e013d0c3fa00f0f4f4373882399e
USB: mos7720: remove incorrect read-urb check

Remove incorrect and unnecessary check for port->read_urb which is not
set to NULL, contrary to what seems to be assumed, when urb is killed.

Compile only-tested.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/mos7720.c