[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZBsArtzFkgz+05LK@corigine.com>
Date: Wed, 22 Mar 2023 14:20:46 +0100
From: Simon Horman <simon.horman@...igine.com>
To: Tom Rix <trix@...hat.com>
Cc: isdn@...ux-pingi.de, nathan@...nel.org, ndesaulniers@...gle.com,
kuba@...nel.org, alexanderduyck@...com, yangyingliang@...wei.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
llvm@...ts.linux.dev
Subject: Re: [PATCH] mISDN: remove unused vpm_read_address function
On Tue, Mar 21, 2023 at 08:01:27AM -0400, Tom Rix wrote:
> clang with W=1 reports
> drivers/isdn/hardware/mISDN/hfcmulti.c:667:1: error: unused function
> 'vpm_read_address' [-Werror,-Wunused-function]
> vpm_read_address(struct hfc_multi *c)
> ^
> This function is not used, so remove it.
Yes, agreed.
But with this patch applied, make CC=clang W=1 tells me:
CALL scripts/checksyscalls.sh
CC [M] drivers/isdn/hardware/mISDN/hfcmulti.o
drivers/isdn/hardware/mISDN/hfcmulti.c:643:1: error: unused function 'cpld_read_reg' [-Werror,-Wunused-function]
So perhaps cpld_read_reg should be removed too?
Powered by blists - more mailing lists