Skip to content

Commit

Permalink
security:selinux: kill unused MAX_AVTAB_HASH_MASK and ebitmap_startbit
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shan Wei authored and James Morris committed Jan 23, 2011
1 parent 7898e1f commit ced3b93
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion security/selinux/ss/avtab.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ void avtab_cache_destroy(void);

#define MAX_AVTAB_HASH_BITS 11
#define MAX_AVTAB_HASH_BUCKETS (1 << MAX_AVTAB_HASH_BITS)
#define MAX_AVTAB_HASH_MASK (MAX_AVTAB_HASH_BUCKETS-1)

#endif /* _SS_AVTAB_H_ */

1 change: 0 additions & 1 deletion security/selinux/ss/ebitmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ struct ebitmap {
};

#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,
struct ebitmap_node **n)
Expand Down

0 comments on commit ced3b93

Please sign in to comment.