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

proc: Remove now pointless debug

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Pavel Emelyanov
2015-01-23 17:50:00 +03:00
parent 9ffc19b307
commit c9b6614eef
2 changed files with 0 additions and 4 deletions

3
bfd.c
View File

@@ -41,7 +41,6 @@ static int buf_get(struct xbuf *xb)
void *mem;
int i;
pr_debug("BUF++\n");
mem = mmap(NULL, BUFBATCH * BUFSIZE, PROT_READ | PROT_WRITE,
MAP_PRIVATE | MAP_ANON, 0, 0);
if (mem == MAP_FAILED) {
@@ -73,7 +72,6 @@ static int buf_get(struct xbuf *xb)
xb->data = xb->mem;
xb->sz = 0;
xb->buf = b;
pr_debug("BUF %p <\n", xb->mem);
return 0;
}
@@ -83,7 +81,6 @@ static void buf_put(struct xbuf *xb)
* Don't unmap buffer back, it will get reused
* by next bfdopen call
*/
pr_debug("BUF %p >\n", xb->mem);
list_add(&xb->buf->l, &bufs);
xb->buf = NULL;
xb->mem = NULL;

View File

@@ -729,7 +729,6 @@ int parse_pid_status(pid_t pid, struct proc_status_creds *cr)
return -1;
while (done < 8 && (str = breadline(&f))) {
pr_debug("str: `%s'\n", str);
if (!strncmp(str, "State:", 6)) {
cr->state = str[7];
done++;