summaryrefslogtreecommitdiffstats
path: root/security/smack
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2020-05-09 19:20:19 +0800
committerCasey Schaufler <casey@schaufler-ca.com>2020-05-11 10:25:37 -0700
commitef26650a201fbbb4ba90b63a82bf7950f2699a82 (patch)
tree55818ef642084f5a425ceed8d70115c9fedaf8de /security/smack
parent4ca75287064be97ac6b67e332e0c082291a515dc (diff)
downloadlinux-ef26650a201fbbb4ba90b63a82bf7950f2699a82.tar.gz
linux-ef26650a201fbbb4ba90b63a82bf7950f2699a82.tar.bz2
linux-ef26650a201fbbb4ba90b63a82bf7950f2699a82.zip
Smack: Remove unused inline function smk_ad_setfield_u_fs_path_mnt
commit a269434d2fb4 ("LSM: separate LSM_AUDIT_DATA_DENTRY from LSM_AUDIT_DATA_PATH") left behind this, remove it. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'security/smack')
-rw-r--r--security/smack/smack.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/security/smack/smack.h b/security/smack/smack.h
index 803b024d3585..e9e817d09785 100644
--- a/security/smack/smack.h
+++ b/security/smack/smack.h
@@ -497,10 +497,6 @@ static inline void smk_ad_setfield_u_fs_path_dentry(struct smk_audit_info *a,
struct dentry *d)
{
}
-static inline void smk_ad_setfield_u_fs_path_mnt(struct smk_audit_info *a,
- struct vfsmount *m)
-{
-}
static inline void smk_ad_setfield_u_fs_inode(struct smk_audit_info *a,
struct inode *i)
{