aboutsummaryrefslogtreecommitdiff
path: root/common/image-sparse.c
diff options
context:
space:
mode:
authorJassi Brar2018-04-06 12:04:52 +0530
committerTom Rini2018-05-07 20:57:51 -0400
commit32d3154e5c9fe396cd78e30af64b7f26523a04b5 (patch)
tree7260da37064a6e0961bcb68c11c7daf95f35863c /common/image-sparse.c
parenta43d46a73cb2c40481791cb292b8eb0b5a80d55e (diff)
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 <jaswinder.singh@linaro.org>
Diffstat (limited to 'common/image-sparse.c')
-rw-r--r--common/image-sparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/image-sparse.c b/common/image-sparse.c
index ddf5772cf82..8ebd647e337 100644
--- a/common/image-sparse.c
+++ b/common/image-sparse.c
@@ -51,7 +51,7 @@
void write_sparse_image(
struct sparse_storage *info, const char *part_name,
- void *data, unsigned sz)
+ void *data)
{
lbaint_t blk;
lbaint_t blkcnt;