summaryrefslogtreecommitdiff
path: root/drivers/md/bitmap.c
diff options
context:
space:
mode:
authorKalle Valo <kvalo@codeaurora.org>2016-03-06 14:57:44 +0200
committerKalle Valo <kvalo@codeaurora.org>2016-03-06 14:57:44 +0200
commit89ef41bfaa46f24a14b776f1cd78c0e0b39e54ce (patch)
tree8371cf24800fffa1d768767a8bf3e498a9edaa34 /drivers/md/bitmap.c
parent89916cc90a78fffbc4c3d7cb1f6540fb2e551804 (diff)
parent00a1f0a93dea3cf1c141df79bfd06e7c9ee54162 (diff)
Merge 'net-next/master'
Needed by the upcoming merge of iwlwifi-next-for-kalle-2016-03-02 tag.
Diffstat (limited to 'drivers/md/bitmap.c')
-rw-r--r--drivers/md/bitmap.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/md/bitmap.c b/drivers/md/bitmap.c
index 4f22e919787a..d80cce499a56 100644
--- a/drivers/md/bitmap.c
+++ b/drivers/md/bitmap.c
@@ -210,10 +210,6 @@ static int write_sb_page(struct bitmap *bitmap, struct page *page, int wait)
struct block_device *bdev;
struct mddev *mddev = bitmap->mddev;
struct bitmap_storage *store = &bitmap->storage;
- int node_offset = 0;
-
- if (mddev_is_clustered(bitmap->mddev))
- node_offset = bitmap->cluster_slot * store->file_pages;
while ((rdev = next_active_rdev(rdev, mddev)) != NULL) {
int size = PAGE_SIZE;