flasher: remove unused ffs_index

ffs_index was used to ensure we updated the ffs header with the actual
size. However, the ffs_index was hardcoded to -1 nd never updated, so
this cade was never executed.

Secondly, recent discussion[1] on the open-power bug tracker suggests that
this was never something that should be done.

[1] https://github.com/open-power/op-build/pull/696#issuecomment-255012092

Change-Id: I302b48213561c4d4490927fa0953c65a52d82c11
Signed-off-by: Joel Stanley <joel@jms.id.au>
diff --git a/op-flasher/flasher_obj.c b/op-flasher/flasher_obj.c
index 8968867..874d21b 100644
--- a/op-flasher/flasher_obj.c
+++ b/op-flasher/flasher_obj.c
@@ -50,7 +50,6 @@
 
 static struct blocklevel_device *bl;
 static struct ffs_handle	*ffsh;
-static int32_t			ffs_index = -1;
 
 static uint8_t FLASH_OK = 0;
 static uint8_t FLASH_ERROR = 0x01;
@@ -157,11 +156,6 @@
 	}
 	close(fd);
 
-	/* If this is a flash partition, adjust its size */
-	if(ffsh && ffs_index >= 0) {
-		printf("Updating actual size in partition header...\n");
-		ffs_update_act_size(ffsh, ffs_index, actual_size);
-	}
 	return(0);
 }