aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/selinux/hooks.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index da0e523157d0..ec834dc0b414 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -2635,11 +2635,6 @@ static int selinux_inode_link(struct dentry *old_dentry, struct inode *dir, stru
2635 2635
2636static int selinux_inode_unlink(struct inode *dir, struct dentry *dentry) 2636static int selinux_inode_unlink(struct inode *dir, struct dentry *dentry)
2637{ 2637{
2638 int rc;
2639
2640 rc = secondary_ops->inode_unlink(dir, dentry);
2641 if (rc)
2642 return rc;
2643 return may_link(dir, dentry, MAY_UNLINK); 2638 return may_link(dir, dentry, MAY_UNLINK);
2644} 2639}
2645 2640