forked from luck/tmp_suning_uos_patched
security:selinux: kill unused MAX_AVTAB_HASH_MASK and ebitmap_startbit
Kill unused MAX_AVTAB_HASH_MASK and ebitmap_startbit. Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com> Signed-off-by: James Morris <jmorris@namei.org>
This commit is contained in:
parent
7898e1f8e9
commit
ced3b93018
|
@ -86,7 +86,6 @@ void avtab_cache_destroy(void);
|
||||||
|
|
||||||
#define MAX_AVTAB_HASH_BITS 11
|
#define MAX_AVTAB_HASH_BITS 11
|
||||||
#define MAX_AVTAB_HASH_BUCKETS (1 << MAX_AVTAB_HASH_BITS)
|
#define MAX_AVTAB_HASH_BUCKETS (1 << MAX_AVTAB_HASH_BITS)
|
||||||
#define MAX_AVTAB_HASH_MASK (MAX_AVTAB_HASH_BUCKETS-1)
|
|
||||||
|
|
||||||
#endif /* _SS_AVTAB_H_ */
|
#endif /* _SS_AVTAB_H_ */
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,6 @@ struct ebitmap {
|
||||||
};
|
};
|
||||||
|
|
||||||
#define ebitmap_length(e) ((e)->highbit)
|
#define ebitmap_length(e) ((e)->highbit)
|
||||||
#define ebitmap_startbit(e) ((e)->node ? (e)->node->startbit : 0)
|
|
||||||
|
|
||||||
static inline unsigned int ebitmap_start_positive(struct ebitmap *e,
|
static inline unsigned int ebitmap_start_positive(struct ebitmap *e,
|
||||||
struct ebitmap_node **n)
|
struct ebitmap_node **n)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user