* [PATCH] image-sparse: remove unused define
@ 2021-06-21 10:27 Rouven Czerwinski
2021-06-23 6:51 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Rouven Czerwinski @ 2021-06-21 10:27 UTC (permalink / raw)
To: barebox; +Cc: Rouven Czerwinski
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] image-sparse: remove unused define
2021-06-21 10:27 [PATCH] image-sparse: remove unused define Rouven Czerwinski
@ 2021-06-23 6:51 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2021-06-23 6:51 UTC (permalink / raw)
To: Rouven Czerwinski; +Cc: 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-23 6:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-21 10:27 [PATCH] image-sparse: remove unused define Rouven Czerwinski
2021-06-23 6:51 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox