diff options
author | Jassi Brar <jaswinder.singh@linaro.org> | 2018-04-06 12:04:52 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-05-07 20:57:51 -0400 |
commit | 32d3154e5c9fe396cd78e30af64b7f26523a04b5 (patch) | |
tree | 7260da37064a6e0961bcb68c11c7daf95f35863c /include/image-sparse.h | |
parent | a43d46a73cb2c40481791cb292b8eb0b5a80d55e (diff) | |
download | u-boot-32d3154e5c9fe396cd78e30af64b7f26523a04b5.tar.gz |
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 'include/image-sparse.h')
-rw-r--r-- | include/image-sparse.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/image-sparse.h b/include/image-sparse.h index 4d1f910487..72f4036d81 100644 --- a/include/image-sparse.h +++ b/include/image-sparse.h @@ -36,4 +36,4 @@ static inline int is_sparse_image(void *buf) } void write_sparse_image(struct sparse_storage *info, const char *part_name, - void *data, unsigned sz); + void *data); |