summaryrefslogtreecommitdiffstats
path: root/drivers/usb/core
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-03-28 21:09:46 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-28 14:49:53 -0700
commit70b55c2ad0e5c8bbbb36cedf6a37f9d029cfd403 (patch)
treefa0f740d7f1a268703bfb8994b028c6c25b62f14 /drivers/usb/core
parent05768918b9a122ce21bd55950df5054ff6c57f28 (diff)
downloadblackbird-obmc-linux-70b55c2ad0e5c8bbbb36cedf6a37f9d029cfd403.tar.gz
blackbird-obmc-linux-70b55c2ad0e5c8bbbb36cedf6a37f9d029cfd403.zip
usb: ehci: mark unlink_empty_async_suspended() as __maybe_unused
Patch 4d053fdac3 "usb: ehci: unlink_empty_async_suspended() only used with CONFIG_PM" tried to hide the unlink_empty_async_suspended function inside of an #ifdef to work around an unused function warning. Unfortunately that had the effect of introducing a new warning: drivers/usb/host/ehci-q.c:1297:13: warning: 'unlink_empty_async_suspended' declared 'static' but never defined [-Wunused-function] While we could add another #ifdef around the function declaration to avoid this, a nicer solution is to mark it as __maybe_unused, which will let gcc silently drop the function definition when it is not needed. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/core')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud