[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200827.091050.1588833851658460752.davem@davemloft.net>
Date: Thu, 27 Aug 2020 09:10:50 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: linmiaohe@...wei.com
Cc: kuznet@....inr.ac.ru, yoshfuji@...ux-ipv6.org, kuba@...nel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: Add 'else' to split mutually exclusive case
From: Miaohe Lin <linmiaohe@...wei.com>
Date: Thu, 27 Aug 2020 07:15:52 -0400
> Add else to split mutually exclusive case and avoid unnecessary check.
>
> Signed-off-by: Miaohe Lin <linmiaohe@...wei.com>
I see no value to this, the compiler is doing the right thing already
and this does not add to code readability either.
I'm not applying this, sorry.
Powered by blists - more mailing lists