Re: [PATCH] net: sctp: drop unneeded likely() call around IS_ERR()
From: Marcelo Ricardo Leitner
Date: Wed Jun 05 2019 - 17:54:35 EST
On Wed, Jun 05, 2019 at 11:03:27PM +0200, Enrico Weigelt, metux IT consult wrote:
> From: Enrico Weigelt <info@xxxxxxxxx>
>
> IS_ERR() already calls unlikely(), so this extra unlikely() call
> around IS_ERR() is not needed.
>
> Signed-off-by: Enrico Weigelt <info@xxxxxxxxx>
Hi,
This patch overlaps with
Jun 05 Kefeng Wang (4.4K) [PATCH net-next] net: Drop unlikely before IS_ERR(_OR_NULL)
Marcelo