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>
This commit is contained in:
Jassi Brar 2018-04-06 12:04:52 +05:30 committed by Tom Rini
parent a43d46a73c
commit 32d3154e5c
4 changed files with 4 additions and 6 deletions

View file

@ -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);