[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <bfc6db20-e094-7fd5-21b5-3d0b81fb494f@redhat.com>
Date: Thu, 23 Mar 2023 08:18:01 -0700
From: Tom Rix <trix@...hat.com>
To: Simon Horman <simon.horman@...igine.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 3/22/23 6:20 AM, Simon Horman wrote:
> 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?
Yes, i will add and respin.
Thanks,
Tom
>
Powered by blists - more mailing lists