From bb14e1f16b5d42934e55c7a53117cf50e1153188 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Tue, 25 Mar 2025 00:15:43 -0600 Subject: lib9p: protogen: flatten the validate functions, same as (un)marshal --- lib9p/protogen/c9util.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'lib9p/protogen/c9util.py') diff --git a/lib9p/protogen/c9util.py b/lib9p/protogen/c9util.py index f9c49fc..e7ad999 100644 --- a/lib9p/protogen/c9util.py +++ b/lib9p/protogen/c9util.py @@ -107,11 +107,3 @@ def idl_expr(expr: idl.Expr, lookup_sym: typing.Callable[[str], str]) -> str: case _: assert False return " ".join(ret) - - -def arg_used(arg: str) -> str: - return arg - - -def arg_unused(arg: str) -> str: - return f"LM_UNUSED({arg})" -- cgit v1.2.3-2-g168b