diff options
author | Richard Guy Briggs <rgb@redhat.com> | 2020-07-01 01:17:07 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2020-07-01 20:34:17 +0300 |
commit | 9fc54012d7aec4b23f2042dc37b26738f3e68942 (patch) | |
tree | 65556edbbf56bf3e4baf4984c3171d222e99f438 /include/linux/audit.h | |
parent | 142240398e50e5fe3171bcf2459856603be13a39 (diff) | |
download | linux-9fc54012d7aec4b23f2042dc37b26738f3e68942.tar.xz |
audit: remove unused !CONFIG_AUDITSYSCALL __audit_inode* stubs
Added 14 years ago in commit 73241ccca0f7 ("[PATCH] Collect more inode
information during syscall processing.") but never used however
needlessly churned no less than 10 times since. Remove the unused
__audit_inode* stubs in the !CONFIG_AUDITSYSCALL case.
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'include/linux/audit.h')
-rw-r--r-- | include/linux/audit.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/audit.h b/include/linux/audit.h index d93739f7a35a..b5478c64bc69 100644 --- a/include/linux/audit.h +++ b/include/linux/audit.h @@ -579,14 +579,6 @@ static inline struct filename *audit_reusename(const __user char *name) } static inline void audit_getname(struct filename *name) { } -static inline void __audit_inode(struct filename *name, - const struct dentry *dentry, - unsigned int flags) -{ } -static inline void __audit_inode_child(struct inode *parent, - const struct dentry *dentry, - const unsigned char type) -{ } static inline void audit_inode(struct filename *name, const struct dentry *dentry, unsigned int aflags) |