USB: EHCI: Cleanup and rewrite ehci_vdgb().
authorDavid Daney <ddaney@caviumnetworks.com>
Tue, 25 Jan 2011 17:59:35 +0000 (09:59 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 4 Feb 2011 19:43:58 +0000 (11:43 -0800)
commit9a1cadb9dd9130345d59638f5b6a8a4982c2b34a
treee0cbbdb3bfab215994bd2dcbb666fe1ab23e3874
parentfc427a5a4bf3be770d7fbd933474957062049f1f
USB: EHCI: Cleanup and rewrite ehci_vdgb().

The vdbg macro is not used anywhere so it can be removed.

With pre-release GCC-4.6, there are several complaints of variables
that are 'set but not used' caused by the ehci_vdbg() macro expanding
to something that does not contain any of its arguments.  We can quiet
this warning by rewriting ehci_vdbg() as a variadic static inline that
does nothing.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-dbg.c