[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sun, 06 Jun 2021 08:49:52 +0200
From: "Fabio M. De Francesco" <fmdefrancesco@...il.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Joe Perches <joe@...ches.com>
Cc: linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: rtl8723bs: os_dep: Remove conditions with no effects
On Sunday, June 6, 2021 7:56:32 AM CEST Joe Perches wrote:
> On Sun, 2021-06-06 at 06:35 +0200, Fabio M. De Francesco wrote:
> > Removed conditions with no effects. Detected by Coccinelle.
>
> It's be good if you researched how this came to be and noted it
> in the changelog.
>
> try:
>
> commit dc365d2cc579200bc3752ddb941e046e3a16962c
> Author: Fabio Aiuto <fabioaiuto83@...il.com>
> Date: Tue Mar 16 15:04:11 2021 +0100
>
> staging: rtl8723bs: remove unused code blocks conditioned by never set
> CONFIG_AP_WOWLAN
>
I've just read the commit you pointed out. It seems that the conditions with
no effects came out while removing code that was conditionally compiled by the
unused definition CONFIG_AP_WOWLAN.
However, I don't understand why those "conditions with no effects" have been
left there.
Now I'm not sure of what you asked me to do: should I leave them there as they
are (perhaps because I missed something) or should I explain in my patch that
they were overlooked by commit dc365d2cc579?
Thanks in advance,
Fabio
Powered by blists - more mailing lists