From: NeilBrown Date: Mon, 8 Mar 2010 05:02:36 +0000 (+1100) Subject: md: remove some dead fields from mddev_s X-Git-Tag: accepted/tizen/common/20141203.182822~11682^2~40 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ee8b81b03dffa1c0075553d01c557714aedb85a1;p=platform%2Fkernel%2Flinux-arm64.git md: remove some dead fields from mddev_s These fields have never been used. commit 4b6d287f627b5fb6a49f78f9e81649ff98c62bb7 added them, but also added identical files to bitmap_super_s, and only used the latter. So remove these unused fields. Signed-off-by: NeilBrown --- diff --git a/drivers/md/md.h b/drivers/md/md.h index 722f5df..0514578 100644 --- a/drivers/md/md.h +++ b/drivers/md/md.h @@ -279,9 +279,6 @@ struct mddev_s atomic_t writes_pending; struct request_queue *queue; /* for plugging ... */ - atomic_t write_behind; /* outstanding async IO */ - unsigned int max_write_behind; /* 0 = sync */ - struct bitmap *bitmap; /* the bitmap for the device */ struct { struct file *file; /* the bitmap file */