lib/hexdump: Drop redundant isprint() implementation
Change-Id: I23e2d89274553cbc75e42f0420a1a84d4cec4340 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32739 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
parent
554e55b0f0
commit
ac6bf7dc12
|
@ -14,11 +14,7 @@
|
||||||
|
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
#include <lib.h>
|
#include <lib.h>
|
||||||
|
#include <string.h>
|
||||||
static int isprint(int c)
|
|
||||||
{
|
|
||||||
return (c >= 32 && c <= 126);
|
|
||||||
}
|
|
||||||
|
|
||||||
void hexdump(const void *memory, size_t length)
|
void hexdump(const void *memory, size_t length)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue