From ac6bf7dc1259ae09dfbd123dc6dee1400b26c801 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Fri, 10 May 2019 19:17:31 +0200 Subject: [PATCH] lib/hexdump: Drop redundant isprint() implementation Change-Id: I23e2d89274553cbc75e42f0420a1a84d4cec4340 Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/c/coreboot/+/32739 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner --- src/lib/hexdump.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/lib/hexdump.c b/src/lib/hexdump.c index 2861d6321e..ca36ddee0e 100644 --- a/src/lib/hexdump.c +++ b/src/lib/hexdump.c @@ -14,11 +14,7 @@ #include #include - -static int isprint(int c) -{ - return (c >= 32 && c <= 126); -} +#include void hexdump(const void *memory, size_t length) {