diff options
author | Neil Brown <neilb@suse.de> | 2007-08-12 01:07:37 +0200 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2007-08-12 01:07:37 +0200 |
commit | c6be40c9f51529d66e6b66910aa49693da795603 (patch) | |
tree | f531a76cd74c7756fd9ec5cadc12efec4b715ce7 /include | |
parent | b852d1f6463c5a9bf25ac324eac32e9cb1a2eaf7 (diff) | |
download | lwn-c6be40c9f51529d66e6b66910aa49693da795603.tar.gz lwn-c6be40c9f51529d66e6b66910aa49693da795603.zip |
md/bitmap: remove dead code from md/bitmap
bitmap_active is never called, and the BITMAP_ACTIVE flag is never users or
tested, so discard them both.
Also remove some out-of-date 'todo' comments.
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/raid/bitmap.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/raid/bitmap.h b/include/linux/raid/bitmap.h index 899437802aea..48e2d93d23fb 100644 --- a/include/linux/raid/bitmap.h +++ b/include/linux/raid/bitmap.h @@ -261,7 +261,6 @@ struct bitmap { int bitmap_create(mddev_t *mddev); void bitmap_flush(mddev_t *mddev); void bitmap_destroy(mddev_t *mddev); -int bitmap_active(struct bitmap *bitmap); char *file_path(struct file *file, char *buf, int count); void bitmap_print_sb(struct bitmap *bitmap); |