]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdca890b2112ad84c0bb249f65b51449e491dfb70
treee0cbbdb3bfab215994bd2dcbb666fe1ab23e3874
parenteea212b4e1a78aa6500212294531a16cb8c80446
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