]> git.baikalelectronics.ru Git - kernel.git/commit
selinux: fix build warning by removing the unused sid variable
authorCorentin LABBE <clabbe.montjoie@gmail.com>
Wed, 4 Oct 2017 18:32:17 +0000 (20:32 +0200)
committerPaul Moore <paul@paul-moore.com>
Wed, 4 Oct 2017 20:31:53 +0000 (16:31 -0400)
commitb432c68d54ed2c00286de3c4786dbaea76eac86a
tree55881a5c6f88d6d91bbf7d0e385b71d5b5af1f73
parent9662be7eb4590b23dafbc39060bc151c3ed8c8c7
selinux: fix build warning by removing the unused sid variable

This patch remove the unused variable sid
This fix the following build warning:
security/selinux/hooks.c:2921:6: warning: variable 'sid' set but not used [-Wunused-but-set-variable]

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/hooks.c