From 4adaa84471549787b636245c30dc4996c84eea49 Mon Sep 17 00:00:00 2001 From: Bruno Meneguele Date: Tue, 31 Mar 2020 10:06:30 -0300 Subject: [PATCH] net/bpfilter: remove superfluous testing message commit 798d64de59252c8c016b83dc1e72c89309473832 upstream. A testing message was brought by c741018fdd8d ("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: c741018fdd8d ("net/bpfilter: fix dprintf usage for /dev/kmsg") Signed-off-by: Bruno Meneguele Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- net/bpfilter/main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/bpfilter/main.c b/net/bpfilter/main.c index efea4874743e9..05e1cfc1e5cd1 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); -- 2.39.5