Thread (4 messages) 4 messages, 4 authors, 2019-06-05

Re: [PATCH] net: sctp: drop unneeded likely() call around IS_ERR()

From: Enrico Weigelt, metux IT consult <hidden>
Date: 2019-06-05 22:54:22
Also in: linux-sctp, lkml

On 05.06.19 21:50, Marcelo Ricardo Leitner wrote:
On Wed, Jun 05, 2019 at 11:03:27PM +0200, Enrico Weigelt, metux IT consult wrote:
quoted
From: Enrico Weigelt <info@metux.net>

IS_ERR() already calls unlikely(), so this extra unlikely() call
around IS_ERR() is not needed.

Signed-off-by: Enrico Weigelt <info@metux.net>
Hi,

This patch overlaps with
Jun 05 Kefeng Wang     (4.4K) [PATCH net-next] net: Drop unlikely before IS_ERR(_OR_NULL)
I've missed Kefeng's patch ... feel free to ignore mine.


--mtx


-- 
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
info@metux.net -- +49-151-27565287
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help