Skip to content

Commit 9fc5401

Browse files
rgbriggspcmoore
authored andcommitted
audit: remove unused !CONFIG_AUDITSYSCALL __audit_inode* stubs
Added 14 years ago in commit 73241cc ("[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 <[email protected]> Signed-off-by: Paul Moore <[email protected]>
1 parent 1422403 commit 9fc5401

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

include/linux/audit.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -579,14 +579,6 @@ static inline struct filename *audit_reusename(const __user char *name)
579579
}
580580
static inline void audit_getname(struct filename *name)
581581
{ }
582-
static inline void __audit_inode(struct filename *name,
583-
const struct dentry *dentry,
584-
unsigned int flags)
585-
{ }
586-
static inline void __audit_inode_child(struct inode *parent,
587-
const struct dentry *dentry,
588-
const unsigned char type)
589-
{ }
590582
static inline void audit_inode(struct filename *name,
591583
const struct dentry *dentry,
592584
unsigned int aflags)

0 commit comments

Comments
 (0)