diff options
author | Namhyung Kim <namhyung@gmail.com> | 2011-06-09 01:43:01 (GMT) |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-06-09 01:43:01 (GMT) |
commit | 97b3d4aacfbd7186faf34597fcf1f55b8579be17 (patch) | |
tree | 3ccd769c8003b3b999116bf9c1a09f0308d9806c /drivers/md/bitmap.c | |
parent | 27d5ea04d08bea37bf651090e5f3c573d2390df8 (diff) | |
download | linux-97b3d4aacfbd7186faf34597fcf1f55b8579be17.tar.xz |
md/bitmap: remove unused fields from struct bitmap
Get rid of ->syncchunk and ->counter_bits since they're never used.
Also discard COUNTER_BYTE_RATIO which is unused.
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/bitmap.c')
-rw-r--r-- | drivers/md/bitmap.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/md/bitmap.c b/drivers/md/bitmap.c index 663e605..574b09a 100644 --- a/drivers/md/bitmap.c +++ b/drivers/md/bitmap.c @@ -1837,9 +1837,6 @@ int bitmap_create(mddev_t *mddev) bitmap->chunks = chunks; bitmap->pages = pages; bitmap->missing_pages = pages; - bitmap->counter_bits = COUNTER_BITS; - - bitmap->syncchunk = ~0UL; #ifdef INJECT_FATAL_FAULT_1 bitmap->bp = NULL; |