diff options
| author | Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> | 2015-02-04 11:34:30 -0500 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-05-24 02:52:20 +0200 |
| commit | f3162405f7f9cedc88994ab7c6dfbef04edca698 (patch) | |
| tree | a3ad1fca33b236b47c827d87fcd4a378bf31b7d4 | |
| parent | 1b57026da2053e1f562ab9bf7e79f60720787077 (diff) | |
selinux: Remove unused function avc_sidcmp()
Remove the function avc_sidcmp() that is not used anywhere.
This was partially found by using a static code analysis program called cppcheck.
Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
[PM: rewrite the patch subject line]
Signed-off-by: Paul Moore <pmoore@redhat.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
| -rw-r--r-- | security/selinux/avc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/security/selinux/avc.c b/security/selinux/avc.c index 572eb5e8d..26acaab7f 100644 --- a/security/selinux/avc.c +++ b/security/selinux/avc.c @@ -821,11 +821,6 @@ out: return rc; } -static inline int avc_sidcmp(u32 x, u32 y) -{ - return (x == y || x == SECSID_WILD || y == SECSID_WILD); -} - /** * avc_update_node Update an AVC entry * @event : Updating event |
