mirror of
https://github.com/torvalds/linux.git
synced 2026-05-03 22:12:32 -04:00
selftests/bpf: remove useless bpf_trace_printk
sockmap test is using two programs that use bpf_trace_printk()
which prints into trace_pipe, but nothing is reading it.
Remove it.
Fixes: 6f6d33f3b3 ("bpf: selftests add sockmap tests")
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
54df7ef511
commit
81ba4e1ac4
@@ -29,9 +29,6 @@ int bpf_prog1(struct __sk_buff *skb)
|
||||
* fields.
|
||||
*/
|
||||
d[7] = 1;
|
||||
|
||||
bpf_printk("parse: data[0] = (%u): local_port %i remote %i\n",
|
||||
d[0], lport, bpf_ntohl(rport));
|
||||
return skb->len;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user