Skip to content

Commit bdcfe47

Browse files
committed
Core: Fix unnecessary arg in structs/structs_pass
1 parent 3396d84 commit bdcfe47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pythonbpf/structs/structs_pass.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def structs_proc(tree, compilation_context, chunks):
2222
for cls_node in chunks:
2323
if is_bpf_struct(cls_node):
2424
logger.info(f"Found BPF struct: {cls_node.name}")
25-
struct_info = process_bpf_struct(cls_node, compilation_context)
25+
struct_info = process_bpf_struct(cls_node)
2626
structs_sym_tab[cls_node.name] = struct_info
2727

2828
return structs_sym_tab
@@ -35,7 +35,7 @@ def is_bpf_struct(cls_node):
3535
)
3636

3737

38-
def process_bpf_struct(cls_node, compilation_context):
38+
def process_bpf_struct(cls_node):
3939
"""Process a single BPF struct definition"""
4040

4141
fields = parse_struct_fields(cls_node)

0 commit comments

Comments
 (0)