From: Rouven Czerwinski <r.czerwinski@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Subject: [PATCH] image-sparse: remove unused define
Date: Mon, 21 Jun 2021 12:27:07 +0200 [thread overview]
Message-ID: <20210621102706.586345-1-r.czerwinski@pengutronix.de> (raw)
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
next reply other threads:[~2021-06-21 10:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-21 10:27 Rouven Czerwinski [this message]
2021-06-23 6:51 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210621102706.586345-1-r.czerwinski@pengutronix.de \
--to=r.czerwinski@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox