• R
    isdn/capi: fix defined but not used warnings · 20fbdc35
    Randy Dunlap 提交于
    Fix build warnings in drivers/isdn/capi/ when CONFIG_PROC_FS is not
    enabled by marking the unused functions as __maybe_unused.
    
    ../drivers/isdn/capi/capi.c:1324:12: warning: 'capi20_proc_show' defined but not used [-Wunused-function]
    ../drivers/isdn/capi/capi.c:1347:12: warning: 'capi20ncci_proc_show' defined but not used [-Wunused-function]
    ../drivers/isdn/capi/capidrv.c:2454:12: warning: 'capidrv_proc_show' defined but not used [-Wunused-function]
    Signed-off-by: NRandy Dunlap <rdunlap@infradead.org>
    Cc: Karsten Keil <isdn@linux-pingi.de>
    Cc: isdn4linux@listserv.isdn4linux.de (subscribers-only)
    Cc: netdev@vger.kernel.org
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    20fbdc35
capidrv.c 69.4 KB