USB: serial: ark3116: remove redundant interrupt-urb check
authorJohan Hovold <johan@kernel.org>
Tue, 31 Jan 2017 10:51:08 +0000 (11:51 +0100)
committerJohan Hovold <johan@kernel.org>
Tue, 31 Jan 2017 16:21:29 +0000 (17:21 +0100)
commit41a2af93aeebd43daaac397b6662d5822f0742fc
tree12ef34f2417e6c45df7ca3eac18858ddbbd6bfbe
parent4481200364ab1d6820a77ed442775a6e4f7c979f
USB: serial: ark3116: remove redundant interrupt-urb check

Remove redundant check of num_interrupt_in which has already been
verified in probe (killing a NULL-urb would also have been fine).

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/ark3116.c