git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a1cadb
)
USB: EHCI: Rearrange EHCI_URB_TRACE code to avoid GCC-4.6 warnings.
author
David Daney
<ddaney@caviumnetworks.com>
Tue, 25 Jan 2011 17:59:36 +0000
(09:59 -0800)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 4 Feb 2011 19:43:59 +0000
(11:43 -0800)
With pre-release GCC-4.6, we get a 'set but not used' warning when
EHCI_URB_TRACE is not set because we set the qtd variable without
using it.
Rearrange the statements so that we only set qtd if it will be used.
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
No differences found