Commit 41c55ea6 authored by Bruno Meneguele's avatar Bruno Meneguele Committed by David S. Miller

net/bpfilter: remove superfluous testing message

A testing message was brought by 13d0f7b8 ("net/bpfilter: fix dprintf
usage for /dev/kmsg") but should've been deleted before patch submission.
Although it doesn't cause any harm to the code or functionality itself, it's
totally unpleasant to have it displayed on every loop iteration with no real
use case. Thus remove it unconditionally.

Fixes: 13d0f7b8 ("net/bpfilter: fix dprintf usage for /dev/kmsg")
Signed-off-by: default avatarBruno Meneguele <bmeneg@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 79540d13
...@@ -35,7 +35,6 @@ static void loop(void) ...@@ -35,7 +35,6 @@ static void loop(void)
struct mbox_reply reply; struct mbox_reply reply;
int n; int n;
fprintf(debug_f, "testing the buffer\n");
n = read(0, &req, sizeof(req)); n = read(0, &req, sizeof(req));
if (n != sizeof(req)) { if (n != sizeof(req)) {
fprintf(debug_f, "invalid request %d\n", n); fprintf(debug_f, "invalid request %d\n", n);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment