]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging:dwc2:hcd_queue.c : cleanups to the microframe scheduler code
authorHimangi Saraogi <himangi774@gmail.com>
Sat, 2 Nov 2013 04:35:30 +0000 (10:05 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Nov 2013 04:30:21 +0000 (13:30 +0900)
commit86c17c0b5eed0bb4e1e61d5889a80f56bf59c93f
treea39e8bd3919915f8cb738f307a01b3c604acd877
parentf3b2734f4bcc0093f1e7b49d658ae8353c86d32d
staging:dwc2:hcd_queue.c : cleanups to the microframe scheduler code

This patch takes up the task mentioned in the TODO file of dwc2 to
cleanup the microframe scheduler code. The while(!done) loops have been
replaced with appropriate for loops and unnecessary variables
like done and ret have been removed.

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dwc2/hcd_queue.c