mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2025-12-31 21:06:25 +00:00
Remove dead code from _handle_ctypes_call
This commit is contained in:
@ -119,9 +119,7 @@ def _handle_ctypes_call(
|
||||
return None
|
||||
call_type = expr.func.id
|
||||
expected_type = ctypes_to_ir(call_type)
|
||||
if expected_type is None:
|
||||
logger.info(f"Unsupported ctypes type: {call_type}")
|
||||
return None
|
||||
|
||||
if val[1] != expected_type:
|
||||
# NOTE: We are only considering casting to and from int types for now
|
||||
if isinstance(val[1], ir.IntType) and isinstance(expected_type, ir.IntType):
|
||||
|
||||
Reference in New Issue
Block a user