USB: ch341: remove redundant close from open error path
authorJohan Hovold <johan@kernel.org>
Thu, 19 Feb 2015 05:34:41 +0000 (12:34 +0700)
committerJohan Hovold <johan@kernel.org>
Thu, 26 Feb 2015 17:13:02 +0000 (18:13 +0100)
commit394a10331a9e43100a8ee293255cfc428c7355ac
tree6de716e53404d525fcde98851c51569eb545bcb1
parentc517d838eb7d07bbe9507871fab3931deccff539
USB: ch341: remove redundant close from open error path

Remove redundant call to ch341_close from error path when submission of
the interrupt urb fails in open.

Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/ch341.c