diff options
author | Jassi Brar | 2018-04-06 12:04:52 +0530 |
---|---|---|
committer | Tom Rini | 2018-05-07 20:57:51 -0400 |
commit | 32d3154e5c9fe396cd78e30af64b7f26523a04b5 (patch) | |
tree | 7260da37064a6e0961bcb68c11c7daf95f35863c /common/image-sparse.c | |
parent | a43d46a73cb2c40481791cb292b8eb0b5a80d55e (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.c | 2 |
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; |