File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -5586,21 +5586,8 @@ static int bpf_scx_btf_struct_access(struct bpf_verifier_log *log,
5586
5586
return - EACCES ;
5587
5587
}
5588
5588
5589
- static const struct bpf_func_proto *
5590
- bpf_scx_get_func_proto (enum bpf_func_id func_id , const struct bpf_prog * prog )
5591
- {
5592
- switch (func_id ) {
5593
- case BPF_FUNC_task_storage_get :
5594
- return & bpf_task_storage_get_proto ;
5595
- case BPF_FUNC_task_storage_delete :
5596
- return & bpf_task_storage_delete_proto ;
5597
- default :
5598
- return bpf_base_func_proto (func_id , prog );
5599
- }
5600
- }
5601
-
5602
5589
static const struct bpf_verifier_ops bpf_scx_verifier_ops = {
5603
- .get_func_proto = bpf_scx_get_func_proto ,
5590
+ .get_func_proto = bpf_base_func_proto ,
5604
5591
.is_valid_access = bpf_scx_is_valid_access ,
5605
5592
.btf_struct_access = bpf_scx_btf_struct_access ,
5606
5593
};
You can’t perform that action at this time.
0 commit comments