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)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 16 Mar 2017 02:18:40 +0000 (02:18 +0000)
commitcefd595f97fc8ac4bc5401aeb616e49a2a9fe288
treed4ecad8d33df0d64e2086cb48218bd30ddd37f01
parentc7f74e5085ca9c8344cb62b88ad35e36900671ea
USB: ch341: remove redundant close from open error path

commit 394a10331a9e43100a8ee293255cfc428c7355ac upstream.

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>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/usb/serial/ch341.c