bpf: Fix bpf-next builds without CONFIG_BPF_EVENTS
[linux-2.6-microblaze.git] / kernel / trace / bpf_trace.c
index 580e14e..8e2eb95 100644 (file)
@@ -714,8 +714,6 @@ BPF_CALL_0(bpf_get_current_task_btf)
        return (unsigned long) current;
 }
 
-BTF_ID_LIST_GLOBAL_SINGLE(btf_task_struct_ids, struct, task_struct)
-
 const struct bpf_func_proto bpf_get_current_task_btf_proto = {
        .func           = bpf_get_current_task_btf,
        .gpl_only       = true,