[PATCH] xfuncs: remove debugging output
Sascha Hauer
s.hauer at pengutronix.de
Tue May 12 23:23:42 PDT 2015
Adding debug statements to this code path does not make much sense
since when enabled it will massively spam the console.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
lib/xfuncs.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/lib/xfuncs.c b/lib/xfuncs.c
index 86d0013..0e78b67 100644
--- a/lib/xfuncs.c
+++ b/lib/xfuncs.c
@@ -30,8 +30,6 @@ void *xmalloc(size_t size)
if (!(p = malloc(size)))
panic("ERROR: out of memory\n");
- debug("xmalloc %p (size %zu)\n", p, size);
-
return p;
}
EXPORT_SYMBOL(xmalloc);
@@ -43,8 +41,6 @@ void *xrealloc(void *ptr, size_t size)
if (!(p = realloc(ptr, size)))
panic("ERROR: out of memory\n");
- debug("xrealloc %p -> %p (size %zu)\n", ptr, p, size);
-
return p;
}
EXPORT_SYMBOL(xrealloc);
--
2.1.4
More information about the barebox
mailing list