• Luiz Capitulino's avatar
    [PATCH] USB: fix drivers/usb/host/uhci-debug.c warning when !CONFIG_PROC_FS. · 8cdcd722
    Luiz Capitulino authored
     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:
    8cdcd722
uhci-debug.c 14.9 KB