[-next] Smack: Remove unused inline function smk_ad_setfield_u_fs_path_mnt
diff mbox series

Message ID 20200509112019.54164-1-yuehaibing@huawei.com
State New
Headers show
Series
  • [-next] Smack: Remove unused inline function smk_ad_setfield_u_fs_path_mnt
Related show

Commit Message

YueHaibing May 9, 2020, 11:20 a.m. UTC
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>
---
 security/smack/smack.h | 4 ----
 1 file changed, 4 deletions(-)

Comments

Casey Schaufler May 12, 2020, 4:03 p.m. UTC | #1
On 5/9/2020 4:20 AM, YueHaibing wrote:
> 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>

I have taken this. Thank you.

> ---
>  security/smack/smack.h | 4 ----
>  1 file changed, 4 deletions(-)
>
> diff --git a/security/smack/smack.h b/security/smack/smack.h
> index 62529f382942..f244c9d10004 100644
> --- a/security/smack/smack.h
> +++ b/security/smack/smack.h
> @@ -505,10 +505,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)
>  {

Patch
diff mbox series

diff --git a/security/smack/smack.h b/security/smack/smack.h
index 62529f382942..f244c9d10004 100644
--- a/security/smack/smack.h
+++ b/security/smack/smack.h
@@ -505,10 +505,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)
 {