summaryrefslogtreecommitdiffstats
path: root/src/bitmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bitmap.c')
-rw-r--r--src/bitmap.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/bitmap.c b/src/bitmap.c
index 6655445..3d27f05 100644
--- a/src/bitmap.c
+++ b/src/bitmap.c
@@ -37,7 +37,6 @@ bitmap_info_init(bitmap_info_t *binfo, size_t nbits)
static size_t
bitmap_info_ngroups(const bitmap_info_t *binfo)
{
-
return (binfo->levels[binfo->nlevels].group_offset);
}
@@ -74,7 +73,6 @@ bitmap_init(bitmap_t *bitmap, const bitmap_info_t *binfo)
void
bitmap_info_init(bitmap_info_t *binfo, size_t nbits)
{
-
assert(nbits > 0);
assert(nbits <= (ZU(1) << LG_BITMAP_MAXBITS));
@@ -85,7 +83,6 @@ bitmap_info_init(bitmap_info_t *binfo, size_t nbits)
static size_t
bitmap_info_ngroups(const bitmap_info_t *binfo)
{
-
return (binfo->ngroups);
}
@@ -106,6 +103,5 @@ bitmap_init(bitmap_t *bitmap, const bitmap_info_t *binfo)
size_t
bitmap_size(const bitmap_info_t *binfo)
{
-
return (bitmap_info_ngroups(binfo) << LG_SIZEOF_BITMAP);
}