From: NeilBrown Date: Mon, 8 Mar 2010 05:02:36 +0000 (+1100) Subject: md: remove some dead fields from mddev_s X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ee8b81b03dffa1c0075553d01c557714aedb85a1;p=openwrt%2Fstaging%2Fblogic.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 722f5dfe1953..05145786b50f 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 */