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:
20
util.c
20
util.c
@@ -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)
|
||||
|
Reference in New Issue
Block a user