]> 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)
commitc0d4f464caeb075e3bb9063a64cd63c093ac03ad
tree55881a5c6f88d6d91bbf7d0e385b71d5b5af1f73
parent6b240306ee1631587a87845127824df54a0a5abe
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