[PATCHv2] usb: ehci: unlink_empty_async_suspended() only used with CONFIG_PM

2013-03-26 Thread Tony Prisk
Compiling with !CONFIG_PM generates an unused function warning on unlink_empty_async_suspended(). Enclose the function in a #ifdef CONFIG_PM Signed-off-by: Tony Prisk Acked-by: Alan Stern --- v2: Tidy up blank line as requested by Alan Stern drivers/usb/host/ehci-q.c |2 ++ 1 file changed,

Re: [PATCHv2] usb: ehci: unlink_empty_async_suspended() only used with CONFIG_PM

2013-03-26 Thread Alan Stern
On Wed, 27 Mar 2013, Tony Prisk wrote: > Compiling with !CONFIG_PM generates an unused function warning on > unlink_empty_async_suspended(). > > Enclose the function in a #ifdef CONFIG_PM > > Signed-off-by: Tony Prisk > --- > Fixed up the commit message. > drivers/usb/host/ehci-q.c |3 ++-

[PATCHv2] usb: ehci: unlink_empty_async_suspended() only used with CONFIG_PM

2013-03-26 Thread Tony Prisk
Compiling with !CONFIG_PM generates an unused function warning on unlink_empty_async_suspended(). Enclose the function in a #ifdef CONFIG_PM Signed-off-by: Tony Prisk --- Fixed up the commit message. drivers/usb/host/ehci-q.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --gi