flasher: Remove unused blocklevel_get_info

We retrieve the parameters but don't do anything with them.

Change-Id: I5689fb04d6a9f201a6aff6235925b86c77500823
Signed-off-by: Joel Stanley <joel@jms.id.au>
diff --git a/op-flasher/flasher_obj.c b/op-flasher/flasher_obj.c
index 747ad0b..8968867 100644
--- a/op-flasher/flasher_obj.c
+++ b/op-flasher/flasher_obj.c
@@ -50,8 +50,6 @@
 
 static struct blocklevel_device *bl;
 static struct ffs_handle	*ffsh;
-static uint32_t			fl_total_size, fl_erase_granule;
-static const char		*fl_name;
 static int32_t			ffs_index = -1;
 
 static uint8_t FLASH_OK = 0;
@@ -246,12 +244,6 @@
 		}
 	}
 
-	rc = blocklevel_get_info(bl, &fl_name,
-			&fl_total_size, &fl_erase_granule);
-	if(rc) {
-		fprintf(stderr, "Error %d getting flash info\n", rc);
-		return FLASH_SETUP_ERROR;
-	}
 	if(strcmp(write_file,"")!=0)
 	{
 		// If file specified but not size, get size from file