1. 08 Jul, 2018 2 commits
    • Randy Dunlap's avatar
      isdn/capi: fix defined but not used warnings · 20fbdc35
      Randy Dunlap authored
      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: default avatarRandy 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: default avatarDavid S. Miller <davem@davemloft.net>
      20fbdc35
    • Randy Dunlap's avatar
      connector: fix defined but not used warning · d2af686c
      Randy Dunlap authored
      Fix a build warning in connector.c when CONFIG_PROC_FS is not enabled
      by marking the unused function as __maybe_unused.
      
      ../drivers/connector/connector.c:242:12: warning: 'cn_proc_show' defined but not used [-Wunused-function]
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Cc: Evgeniy Polyakov <zbr@ioremap.net>
      Cc: netdev@vger.kernel.org
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d2af686c
  2. 07 Jul, 2018 38 commits