Re: [PATCH] usb: xhci: Mark two functions __maybe_unused

2013-07-24 Thread Sarah Sharp
On Tue, Jul 23, 2013 at 11:58:20AM -0700, Olof Johansson wrote: Resolves the following build warnings: drivers/usb/host/xhci.c:332:13: warning: 'xhci_msix_sync_irqs' defined but not used [-Wunused-function] drivers/usb/host/xhci.c:3901:12: warning: 'xhci_change_max_exit_latency' defined but

[PATCH] usb: xhci: Mark two functions __maybe_unused

2013-07-23 Thread Olof Johansson
Resolves the following build warnings: drivers/usb/host/xhci.c:332:13: warning: 'xhci_msix_sync_irqs' defined but not used [-Wunused-function] drivers/usb/host/xhci.c:3901:12: warning: 'xhci_change_max_exit_latency' defined but not used [-Wunused-function] These functions are not always used,