[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180708.110108.776505385675987021.davem@davemloft.net>
Date: Sun, 08 Jul 2018 11:01:08 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: rdunlap@...radead.org
Cc: netdev@...r.kernel.org, isdn@...ux-pingi.de,
isdn4linux@...tserv.isdn4linux.de
Subject: Re: [PATCH] isdn/capi: fix defined but not used warnings
From: Randy Dunlap <rdunlap@...radead.org>
Date: Sat, 7 Jul 2018 08:31:15 -0700
> From: Randy Dunlap <rdunlap@...radead.org>
>
> 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: Randy Dunlap <rdunlap@...radead.org>
Applied.
Powered by blists - more mailing lists