From: Micah Morton Date: Wed, 30 Jan 2019 15:56:43 +0000 (-0800) Subject: LSM: SafeSetID: remove unused include X-Git-Tag: v5.1-rc1~69^2~3 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=2181e084b26bddca22bc3f23364c15809cfed28b;p=linux-block.git LSM: SafeSetID: remove unused include The include for asm/syscall.h was needed in a prior version of lsm.c that checked return values of syscall_get_nr, but since we did away with that part of the code this include is no longer necessary. Take out this include since it breaks builds for certain architectures. We no longer have any arch-specific code in SafeSetID. Signed-off-by: Micah Morton Signed-off-by: James Morris --- diff --git a/security/safesetid/lsm.c b/security/safesetid/lsm.c index 282a242beb86..cecd38e2ac80 100644 --- a/security/safesetid/lsm.c +++ b/security/safesetid/lsm.c @@ -14,7 +14,6 @@ #define pr_fmt(fmt) "SafeSetID: " fmt -#include #include #include #include