commit | eb34a90861a290cd271f4b887c0d59070e1b69b0 | [log] [tgz] |
---|---|---|
author | David Daney <ddaney@caviumnetworks.com> | Tue Jan 25 09:59:36 2011 -0800 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Feb 04 11:43:59 2011 -0800 |
tree | 628c648d44be4c7ef57c29c11ed848c0f9a22ebd | |
parent | 9a1cadb9dd9130345d59638f5b6a8a4982c2b34a [diff] |
USB: EHCI: Rearrange EHCI_URB_TRACE code to avoid GCC-4.6 warnings. 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>