diff options
author | Bruno Meneguele <bmeneg@redhat.com> | 2020-03-31 10:06:30 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-21 09:08:02 +0200 |
commit | d69ced5d928517c5531bba71141782130847a375 (patch) | |
tree | a22b2c4293a026c142ca4b249240b938b7a1bcf9 /net | |
parent | 34564a3731ee1f6b073dccb004f45295629e7d18 (diff) | |
download | linux-stable-d69ced5d928517c5531bba71141782130847a375.tar.gz linux-stable-d69ced5d928517c5531bba71141782130847a375.tar.bz2 linux-stable-d69ced5d928517c5531bba71141782130847a375.zip |
net/bpfilter: remove superfluous testing message
commit 41c55ea6c2a7ca4c663eeec05bdf54f4e2419699 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/bpfilter/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/bpfilter/main.c b/net/bpfilter/main.c index efea4874743e..05e1cfc1e5cd 100644 --- a/net/bpfilter/main.c +++ b/net/bpfilter/main.c @@ -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); |