Received: from goalie.tycho.ncsc.mil (goalie [144.51.242.250]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id t9QLFZXW009657 for ; Mon, 26 Oct 2015 17:15:40 -0400 From: Andreas Gruenbacher To: linux-security-module@vger.kernel.org, selinux@tycho.nsa.gov, ocfs2-devel@oss.oracle.com Cc: Andreas Gruenbacher Subject: [PATCH v3 1/7] selinux: Remove unused variable in selinux_inode_init_security Date: Mon, 26 Oct 2015 22:15:22 +0100 Message-Id: <1445894128-6765-2-git-send-email-agruenba@redhat.com> In-Reply-To: <1445894128-6765-1-git-send-email-agruenba@redhat.com> References: <1445894128-6765-1-git-send-email-agruenba@redhat.com> List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: Signed-off-by: Andreas Gruenbacher --- security/selinux/hooks.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index e4369d8..fc8f626 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -2756,13 +2756,11 @@ static int selinux_inode_init_security(struct inode *inode, struct inode *dir, void **value, size_t *len) { const struct task_security_struct *tsec = current_security(); - struct inode_security_struct *dsec; struct superblock_security_struct *sbsec; u32 sid, newsid, clen; int rc; char *context; - dsec = dir->i_security; sbsec = dir->i_sb->s_security; sid = tsec->sid; -- 2.5.0