]> git.hungrycats.org Git - linux/commit
[PATCH] USB: fix drivers/usb/host/uhci-debug.c warning when !CONFIG_PROC_FS.
authorLuiz Capitulino <lcapitulino@prefeitura.sp.gov.br>
Fri, 3 Oct 2003 08:18:06 +0000 (01:18 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 3 Oct 2003 08:18:06 +0000 (01:18 -0700)
commit8cdcd72277770b32cc30c0176380c54bfa104fd6
tree13becb09e067d54d1db58e56605d6fec4648a133
parentba6dbd1ee62821e2bc50793648b69d2a30226e2e
[PATCH] USB: fix drivers/usb/host/uhci-debug.c warning when !CONFIG_PROC_FS.

 I'm getting this when compiling USB with all options enabled:

drivers/usb/host/uhci-debug.c:417: warning: `uhci_sprint_schedule' defined but not used

 my suggestion is to put under the #ifdef/#endif the functions which are
only used by the proc ones too. If one of them become necessary when
CONFIG_PROC_FS=n, the #ifdef/#endif for that function can be removed:
drivers/usb/host/uhci-debug.c