diff mbox series

common: hash: Remove a debug printf statement

Message ID 20200615074704.874887-1-hws@denx.de
State Accepted
Commit 7a81989b7b04bd87d1e684f2bafdc92a9c16fecc
Delegated to: Tom Rini
Headers show
Series common: hash: Remove a debug printf statement | expand

Commit Message

Harald Seiler June 15, 2020, 7:47 a.m. UTC
Remove a left-over debug printf that was introduced with SHA512 support.

Fixes: d16b38f42704 ("Add support for SHA384 and SHA512")
Signed-off-by: Harald Seiler <hws@denx.de>
---

Notes:
    Just noticed the SHA512 patch seems to still contain
    a left-over debug printf.

 common/hash.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Tom Rini June 16, 2020, 3:39 p.m. UTC | #1
On Mon, Jun 15, 2020 at 09:47:04AM +0200, Harald Seiler wrote:

> Remove a left-over debug printf that was introduced with SHA512 support.
> 
> Fixes: d16b38f42704 ("Add support for SHA384 and SHA512")
> Signed-off-by: Harald Seiler <hws@denx.de>

Applied to u-boot/next, thanks!
diff mbox series

Patch

diff --git a/common/hash.c b/common/hash.c
index 5c75848b7d92..05238a8ba91e 100644
--- a/common/hash.c
+++ b/common/hash.c
@@ -146,8 +146,6 @@  static int hash_finish_sha512(struct hash_algo *algo, void *ctx, void
 	if (size < algo->digest_size)
 		return -1;
 
-	printf("hello world\n");
-
 	sha512_finish((sha512_context *)ctx, dest_buf);
 	free(ctx);
 	return 0;