summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-05-24 22:13:50 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2022-05-24 22:13:50 +0200
commita9d1046a846571422a92d2b8fbf8a8b24221b9a3 (patch)
tree80bbb2b1c07c210f48baaf62d3b99e7d93ec63d8 /security
parentMerge tag 'landlock-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff)
parentsmack: Remove redundant assignments (diff)
downloadlinux-a9d1046a846571422a92d2b8fbf8a8b24221b9a3.tar.xz
linux-a9d1046a846571422a92d2b8fbf8a8b24221b9a3.zip
Merge tag 'Smack-for-5.19' of https://github.com/cschaufler/smack-next
Pull smack update from Casey Schaufler: "A single change to remove a pointless assignment" * tag 'Smack-for-5.19' of https://github.com/cschaufler/smack-next: smack: Remove redundant assignments
Diffstat (limited to 'security')
-rw-r--r--security/smack/smackfs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/smack/smackfs.c b/security/smack/smackfs.c
index 658eab05599e..9e61014073cc 100644
--- a/security/smack/smackfs.c
+++ b/security/smack/smackfs.c
@@ -1192,7 +1192,6 @@ static ssize_t smk_write_net4addr(struct file *file, const char __user *buf,
rc = -EINVAL;
goto free_out;
}
- m = BEBITS;
masks = 32;
}
if (masks > BEBITS) {