net/bpfilter: remove superfluous testing message
authorBruno Meneguele <bmeneg@redhat.com>
Tue, 31 Mar 2020 13:06:30 +0000 (10:06 -0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Mar 2020 17:07:51 +0000 (10:07 -0700)
A testing message was brought by 13d0f7b814d9 ("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: 13d0f7b814d9 ("net/bpfilter: fix dprintf usage for /dev/kmsg")
Signed-off-by: Bruno Meneguele <bmeneg@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bpfilter/main.c

index efea4874743e92fb6b78d4ad5aa6f0f950218fbd..05e1cfc1e5cd114c544e224cea28d530f70243a7 100644 (file)
@@ -35,7 +35,6 @@ static void loop(void)
                struct mbox_reply reply;
                int n;
 
-               fprintf(debug_f, "testing the buffer\n");
                n = read(0, &req, sizeof(req));
                if (n != sizeof(req)) {
                        fprintf(debug_f, "invalid request %d\n", n);