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)
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

Simple merge