Core: Remove spurious comments from functions_pass

This commit is contained in:
Pragyansh Chaturvedi
2026-03-28 12:15:41 +05:30
parent ec4a6852ec
commit c04e32bd24

View File

@ -325,8 +325,6 @@ def process_func_body(
f"Unsupported annotation type: {ast.dump(context_arg.annotation)}" f"Unsupported annotation type: {ast.dump(context_arg.annotation)}"
) )
# Use context's handler if available, else usage of VmlinuxHandlerRegistry
# For now relying on VmlinuxHandlerRegistry which relies on codegen setting it
if VmlinuxHandlerRegistry.is_vmlinux_struct(context_type_name): if VmlinuxHandlerRegistry.is_vmlinux_struct(context_type_name):
resolved_type = VmlinuxHandlerRegistry.get_struct_type( resolved_type = VmlinuxHandlerRegistry.get_struct_type(
context_type_name context_type_name