]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: ehci: qh/qtd cleanup comments
authorDavid Brownell <david-b@pacbell.net>
Thu, 10 Apr 2008 21:21:06 +0000 (14:21 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Apr 2008 04:16:50 +0000 (21:16 -0700)
commita082b5c7882bdbd8a86ace8470ca2ecda796d5a7
treedd5f519ad7caa417363d256f7e572c02a43927f5
parent6427f7995338387ddded92f98adec19ddbf0ae5e
USB: ehci: qh/qtd cleanup comments

Provide better comments about qh_completions() and QTD handling.
That code can be *VERY* confusing, since it's evolved over a few
years to cope with both hardware races and silicon quirks.

Remove two unlikely() annotations that match the GCC defaults
(and are thus pointless); add an "else" to highlight code flow.

This patch doesn't change driver behavior.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-q.c