diff options
author | Rouven Czerwinski <r.czerwinski@pengutronix.de> | 2021-06-21 12:27:07 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-06-23 08:50:49 +0200 |
commit | 4be2c3e034150f292f6fbcb3b73755b2598d27dc (patch) | |
tree | 38c2703833a824de27445279cdffffbf90cbbf35 | |
parent | 5a2cfb30531fc48003834591ead3b5d26e4047f3 (diff) | |
download | barebox-4be2c3e034150f292f6fbcb3b73755b2598d27dc.tar.gz barebox-4be2c3e034150f292f6fbcb3b73755b2598d27dc.tar.xz |
image-sparse: remove unused define
CONFIG_FASTBOOT_FLASH_FILLBUF_SIZE is present since the very first
addition of sparse image support. However its not used anywhere in the
code, so remove it.
Fixes: 13f649a4f960 ("Add support for fastboot sparse images")
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Link: https://lore.barebox.org/20210621102706.586345-1-r.czerwinski@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | lib/image-sparse.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/image-sparse.c b/lib/image-sparse.c index c375c78d63..eb5242e25a 100644 --- a/lib/image-sparse.c +++ b/lib/image-sparse.c @@ -46,10 +46,6 @@ #include <linux/math64.h> -#ifndef CONFIG_FASTBOOT_FLASH_FILLBUF_SIZE -#define CONFIG_FASTBOOT_FLASH_FILLBUF_SIZE (1024 * 512) -#endif - struct sparse_image_ctx { int fd; struct sparse_header sparse; |