2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

util: Remove dead code

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Pavel Emelyanov
2012-03-22 21:17:44 +04:00
parent d5f83530bd
commit 488790b677
2 changed files with 0 additions and 24 deletions

20
util.c
View File

@@ -37,26 +37,6 @@
#include "crtools.h"
void hex_dump(const void *addr, unsigned long len)
{
const unsigned char *p = addr;
unsigned long i;
len = (len + 8) & ~7;
for (i = 0; i < len; i += 8) {
pr_msg("%p: %02x %02x %02x %02x %02x %02x %02x %02x\n",
&p[i], p[i+0], p[i+1], p[i+2], p[i+3],
p[i+4], p[i+5], p[i+6], p[i+7]);
}
}
void pr_info_siginfo(const siginfo_t *siginfo)
{
pr_info("si_signo %d si_errno %d si_code %d\n",
siginfo->si_signo, siginfo->si_errno, siginfo->si_code);
}
void pr_vma(unsigned int loglevel, const struct vma_area *vma_area)
{
if (!vma_area)