aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorOlof Johansson <[email protected]>2013-07-23 11:58:20 -0700
committerSarah Sharp <[email protected]>2013-07-25 08:09:48 -0700
commitd5c82feb5cf8026cd4af048330fdcd46e861c686 (patch)
tree3ae6fb4428172bae6bc5ae248e7f1440595651ff /lib/mpi/mpi-bit.c
parent203a86613fb3bf2767335659513fa98563a3eb71 (diff)
usb: xhci: Mark two functions __maybe_unused
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, and since they're marked static they will produce build warnings: - xhci_msix_sync_irqs is only used with CONFIG_PCI. - xhci_change_max_exit_latency is a little more complicated with dependencies on CONFIG_PM and CONFIG_PM_RUNTIME. Instead of building a bigger maze of ifdefs in this code, I've just marked both with __maybe_unused. Signed-off-by: Olof Johansson <[email protected]> Signed-off-by: Sarah Sharp <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions