Skip to content

Commit

Permalink
selinux: drop unused macro
Browse files Browse the repository at this point in the history
The macro _DEBUG_HASHES is nowhere used. The configuration DEBUG_HASHES
enables debugging of the SELinux hash tables, but the with an underscore
prefixed macro definition has no direct impact or any documentation.

Reported by clang [-Wunused-macros]

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
  • Loading branch information
cgzones authored and pcmoore committed Jan 26, 2022
1 parent b084e18 commit b5e6816
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions security/selinux/ss/policydb.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@
#include "mls.h"
#include "services.h"

#define _DEBUG_HASHES

#ifdef DEBUG_HASHES
static const char *symtab_name[SYM_NUM] = {
"common prefixes",
Expand Down

0 comments on commit b5e6816

Please sign in to comment.