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> --- lib/image-sparse.c | 4 ---- 1 file changed, 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; -- 2.31.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
On Mon, Jun 21, 2021 at 12:27:07PM +0200, Rouven Czerwinski wrote: > 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> > --- > lib/image-sparse.c | 4 ---- > 1 file changed, 4 deletions(-) Applied, thanks Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox