From c9b6614eefd7b2e302807db9de39bca96d7d4c1b Mon Sep 17 00:00:00 2001 From: Pavel Emelyanov Date: Fri, 23 Jan 2015 17:50:00 +0300 Subject: [PATCH] proc: Remove now pointless debug Signed-off-by: Pavel Emelyanov --- bfd.c | 3 --- proc_parse.c | 1 - 2 files changed, 4 deletions(-) diff --git a/bfd.c b/bfd.c index fa94af335..9ebffc4a4 100644 --- a/bfd.c +++ b/bfd.c @@ -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; diff --git a/proc_parse.c b/proc_parse.c index 76fe0daf4..4eb438894 100644 --- a/proc_parse.c +++ b/proc_parse.c @@ -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++;