staging: dwc2: cleanups in dwc2_hcd_qh_add()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 25 Nov 2013 14:11:29 +0000 (17:11 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Nov 2013 20:01:49 +0000 (12:01 -0800)
commitd31e6ca405d448dd8d1ed6a4a13c42971fd6c853
tree6a22d6c132ce56d02f35e017fb055251bf8f1ca9
parentc20e1c6a2d01b48bd19f77ac0b0932395743bedc
staging: dwc2: cleanups in dwc2_hcd_qh_add()

I've made the success and error paths clearer and pulled some code in
one indent level.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dwc2/hcd_queue.c