seccomp: remove unnecessary unlikely()
authorIgor Stoppa <igor.stoppa@gmail.com>
Wed, 5 Sep 2018 20:34:43 +0000 (23:34 +0300)
committerJames Morris <james.morris@microsoft.com>
Thu, 6 Sep 2018 20:29:59 +0000 (13:29 -0700)
commit0d42d73a37ff91028785e42a6bf12fc020a277c1
tree2b4058274e0e6f19c28ee07188822bd4a189f917
parentdbdb75bd087954aaf9b3248109cb85748b62c21d
seccomp: remove unnecessary unlikely()

WARN_ON() already contains an unlikely(), so it's not necessary to wrap it
into another.

Signed-off-by: Igor Stoppa <igor.stoppa@huawei.com>
Acked-by: Kees Cook <keescook@chromium.org>
Cc: linux-security-module@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: James Morris <james.morris@microsoft.com>
kernel/seccomp.c