[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20201210.124535.572123178373912255.davem@davemloft.net>
Date: Thu, 10 Dec 2020 12:45:35 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: a@...table.cc
Cc: kuba@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] vxlan: avoid double unlikely() notation when using
IS_ERR()
From: Antonio Quartulli <a@...table.cc>
Date: Thu, 10 Dec 2020 09:55:49 +0100
> The definition of IS_ERR() already applies the unlikely() notation
> when checking the error status of the passed pointer. For this
> reason there is no need to have the same notation outside of
> IS_ERR() itself.
>
> Clean up code by removing redundant notation.
>
> Signed-off-by: Antonio Quartulli <a@...table.cc>
Applied to net-next, thanks.
Powered by blists - more mailing lists