lkml.org 
[lkml]   [2020]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] vxlan: avoid double unlikely() notation when using IS_ERR()
From
From: Antonio Quartulli <a@unstable.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@unstable.cc>

Applied to net-next, thanks.

\
 
 \ /
  Last update: 2020-12-10 21:47    [W:0.026 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site