diff mbox series

[u-boot,v2019.04-aspeed-openbmc,6/7] common: hash: Remove a debug printf statement

Message ID 20210128105304.401058-7-joel@jms.id.au
State New
Headers show
Series Blackport SHA512 for FIT | expand

Commit Message

Joel Stanley Jan. 28, 2021, 10:53 a.m. UTC
From: Harald Seiler <hws@denx.de>

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>
(cherry picked from commit 7a81989b7b04bd87d1e684f2bafdc92a9c16fecc)
Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 common/hash.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Klaus Heinrich Kiwi Jan. 28, 2021, 7:52 p.m. UTC | #1
On 1/28/2021 7:53 AM, Joel Stanley wrote:
> From: Harald Seiler <hws@denx.de>
> 
> 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>
> (cherry picked from commit 7a81989b7b04bd87d1e684f2bafdc92a9c16fecc)
> Signed-off-by: Joel Stanley <joel@jms.id.au>

Reviewed-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
diff mbox series

Patch

diff --git a/common/hash.c b/common/hash.c
index d32cd9fa1c18..c00ec4d36c41 100644
--- a/common/hash.c
+++ b/common/hash.c
@@ -136,8 +136,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;