From 32d3154e5c9fe396cd78e30af64b7f26523a04b5 Mon Sep 17 00:00:00 2001 From: Jassi Brar Date: Fri, 6 Apr 2018 12:04:52 +0530 Subject: fastboot: sparse: remove redundant argument to write_sparse_image 'sz' has no use for write_sparse_image, remove it simplifying the api. Signed-off-by: Jassi Brar --- common/fb_nand.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'common/fb_nand.c') diff --git a/common/fb_nand.c b/common/fb_nand.c index 3df0f7287e..d7d9eb08f6 100644 --- a/common/fb_nand.c +++ b/common/fb_nand.c @@ -179,8 +179,7 @@ void fb_nand_flash_write(const char *cmd, void *download_buffer, sparse.start); sparse.priv = &sparse_priv; - write_sparse_image(&sparse, cmd, download_buffer, - download_bytes); + write_sparse_image(&sparse, cmd, download_buffer); } else { printf("Flashing raw image at offset 0x%llx\n", part->offset); -- cgit v1.2.3