summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-05-13 08:07:30 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-05-15 07:01:42 +0200
commit34afdd06de9190bb5ac464d144818d427b92cc5c (patch)
tree7d290855d59caedfc0dc25e21bad211944b3a400 /lib
parentc82d18f0f6df06c00e4ab131879c4adf1b08ad0b (diff)
downloadbarebox-34afdd06de9190bb5ac464d144818d427b92cc5c.tar.gz
barebox-34afdd06de9190bb5ac464d144818d427b92cc5c.tar.xz
xfuncs: remove debugging output
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@pengutronix.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/xfuncs.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/xfuncs.c b/lib/xfuncs.c
index 86d0013787..0e78b670a5 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);