]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: dwc2: remove some indent levels
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 25 Nov 2013 14:14:14 +0000 (17:14 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Nov 2013 20:03:00 +0000 (12:03 -0800)
commit5e1284758a6702117b622a4983c5829ea583df2c
tree18ed8fefa858d3d5c77a5ecaac6400e22304dac5
parentd31e6ca405d448dd8d1ed6a4a13c42971fd6c853
staging: dwc2: remove some indent levels

Instead of writing code like:

if (dwc2_qh_is_non_per(qh)) {
...
} else {
...
}
return;

write it like:

if (dwc2_qh_is_non_per(qh)) {
...
return;
}
...

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