diff options
| author | Matthias Kaehlcke <[email protected]> | 2017-05-19 17:09:32 +0000 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2017-05-23 14:24:06 +0000 |
| commit | 270e8573145a26de924e2dc644596332d400445b (patch) | |
| tree | ac3278c5a14e41e36b8b2a8918d2194be85c45a1 /drivers/fpga/fpga-mgr.c | |
| parent | selinux: log policy capability state when a policy is loaded (diff) | |
| download | kernel-270e8573145a26de924e2dc644596332d400445b.tar.gz kernel-270e8573145a26de924e2dc644596332d400445b.zip | |
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 <[email protected]>
Acked-by: Stephen Smalley <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
