Thread (7 messages) 7 messages, 1 author, 2008-07-25

[PATCH 2/6] md: linear.c: Remove pointless initialization of curr_offset.

flat view
STALE6665d

From: Andre Noll <hidden>
Date: 2008-07-25 15:27:48
Subsystem: the rest · Maintainer: Linus Torvalds

Revision v1 of 2 in this series.

Revisions (2)
  1. v1 current
  2. v1
Signed-off-by: Andre Noll <redacted>
---
 drivers/md/linear.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/md/linear.c b/drivers/md/linear.c
index 2773d7b..c36e4f7 100644
--- a/drivers/md/linear.c
+++ b/drivers/md/linear.c
@@ -216,7 +216,6 @@ static linear_conf_t *linear_conf(mddev_t *mddev, int raid_disks)
 			conf->disks[i-1].size;
 
 	table = conf->hash_table;
-	curr_offset = 0;
 	i = 0;
 	for (curr_offset = 0;
 	     curr_offset < conf->array_sectors / 2;
-- 
1.5.4.3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help