Thread (17 messages) 17 messages, 1 author, 2010-12-13
STALE5707d

[PATCH 03/16] FIX: remove unnecessary load_super() call

From: Adam Kwolek <hidden>
Date: 2010-12-13 14:45:13
Subsystem: the rest · Maintainer: Linus Torvalds

Code cleanup. Remove unnecessary load_super() call

Signed-off-by: Adam Kwolek <redacted>
---

 super-intel.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/super-intel.c b/super-intel.c
index 6697257..0a27836 100644
--- a/super-intel.c
+++ b/super-intel.c
@@ -8159,14 +8159,6 @@ int imsm_manage_container_reshape(struct supertype *st, char *backup)
 			int array;
 
 			for (i = 0; i < mpb->num_raid_devs; i++) {
-				struct intel_super *super;
-
-				st->ss->load_super(st, fd, NULL);
-				if (st->sb == NULL) {
-					dprintf("cannot get sb\n");
-					ret_val = 1;
-					goto imsm_manage_container_reshape_exit;
-				}
 				info2.devs = NULL;
 				super = st->sb;
 				super->current_vol = i;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help