summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorManinder Singh <maninder1.s@samsung.com>2020-04-09 14:39:58 +0200
committerCasey Schaufler <casey@schaufler-ca.com>2020-05-06 23:46:26 +0200
commit092c94aed3e1bb0946fc7ba176cc3b4376d9910f (patch)
tree2a316a9842721ca8cf5d5051d937bf1e029dc445 /security
parentsmack: avoid unused 'sip' variable warning (diff)
downloadlinux-092c94aed3e1bb0946fc7ba176cc3b4376d9910f.tar.xz
linux-092c94aed3e1bb0946fc7ba176cc3b4376d9910f.zip
smack: remove redundant structure variable from header.
commit afb1cbe37440 ("LSM: Infrastructure management of the inode security") removed usage of smk_rcu, thus removing it from structure. Signed-off-by: Maninder Singh <maninder1.s@samsung.com> Signed-off-by: Vaneet Narang <v.narang@samsung.com> Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'security')
-rw-r--r--security/smack/smack.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/smack/smack.h b/security/smack/smack.h
index 335d2411abe4..09ed7f343be4 100644
--- a/security/smack/smack.h
+++ b/security/smack/smack.h
@@ -111,7 +111,6 @@ struct inode_smack {
struct smack_known *smk_mmap; /* label of the mmap domain */
struct mutex smk_lock; /* initialization lock */
int smk_flags; /* smack inode flags */
- struct rcu_head smk_rcu; /* for freeing inode_smack */
};
struct task_smack {