diff options
author | Matthias Kaehlcke | 2017-05-19 10:09:32 -0700 |
---|---|---|
committer | Paul Moore | 2017-05-23 10:24:06 -0400 |
commit | 270e8573145a26de924e2dc644596332d400445b (patch) | |
tree | ac3278c5a14e41e36b8b2a8918d2194be85c45a1 /include/rdma | |
parent | 4dc2fce342f8e5b165e2eda29a39446bb07b2457 (diff) |
selinux: Remove redundant check for unknown labeling behavior
The check is already performed in ocontext_read() when the policy is
loaded. Removing the array also fixes the following warning when
building with clang:
security/selinux/hooks.c:338:20: error: variable 'labeling_behaviors'
is not needed and will not be emitted
[-Werror,-Wunneeded-internal-declaration]
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions