Arnd Bergmann 70b55c2ad0 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>
2013-03-28 14:49:53 -07:00
..
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:17 -08:00
2013-03-15 11:48:09 -07:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:17 -08:00
2013-03-25 13:36:32 -07:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:17 -08:00
2012-12-12 11:45:16 -08:00
2012-05-01 21:33:37 -07:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:16 -08:00
2012-12-12 11:45:16 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:17 -08:00
2012-11-21 13:27:17 -08:00
2013-01-24 13:59:26 -08:00
2012-11-21 13:27:16 -08:00
2013-01-25 12:41:02 -08:00
2013-01-24 13:42:09 -08:00
2012-11-21 13:27:16 -08:00
2013-03-28 11:10:22 -07:00