cdc-wdm: unify error handling in write
authorOliver Neukum <oneukum@suse.de>
Fri, 20 Mar 2015 13:29:18 +0000 (14:29 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2015 09:51:56 +0000 (10:51 +0100)
commit28965e17ee7a9591c241b831fee050d2391688c6
tree4f614d5db6430994a666d2d3e9c83ed469432552
parent4132cd02db180d018325e26bd145a509a14fcd6b
cdc-wdm: unify error handling in write

This makes sure the error handling path is the same for
all error conditions, thus reducing code duplication.

Signed-off-by: Oliver Neukum <oneukum@suse.de>0
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/cdc-wdm.c