checkpolicy: remove unused te_assertions

This variable is declared in a header file, but never defined or used.
The te_assert structure definition is only used in this declaration, so
remove both.

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
This commit is contained in:
Ondrej Mosnacek 2020-01-23 13:57:15 +01:00 committed by James Carter
parent 3d32fc24d6
commit 4d330d0d31

View file

@ -1,20 +1,6 @@
#ifndef _CHECKPOLICY_H_
#define _CHECKPOLICY_H_
#include <sepol/policydb/ebitmap.h>
typedef struct te_assert {
ebitmap_t stypes;
ebitmap_t ttypes;
ebitmap_t tclasses;
int self;
sepol_access_vector_t *avp;
unsigned long line;
struct te_assert *next;
} te_assert_t;
te_assert_t *te_assertions;
extern unsigned int policyvers;
#endif