From c077d93a390be2b00e95b3c91adf3c23bc2d0f27 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Wed, 2 Apr 2025 15:59:14 -0600 Subject: lib9p: recv_tentry.basesize is dead code, remove it --- lib9p/protogen/c.py | 1 - 1 file changed, 1 deletion(-) (limited to 'lib9p/protogen/c.py') diff --git a/lib9p/protogen/c.py b/lib9p/protogen/c.py index cc1daea..0c9b21f 100644 --- a/lib9p/protogen/c.py +++ b/lib9p/protogen/c.py @@ -157,7 +157,6 @@ const char *const {c9util.ident('_table_ver_name')}[{c9util.ver_enum('NUM')}] = ret += "\n" ret += cutil.macro( f"#define _MSG_RECV(typ) [{c9util.Ident('TYP_')}##typ/2] = {{\n" - f"\t\t.basesize = sizeof(struct {c9util.ident('msg_')}##typ),\n" f"\t\t.validate = validate_##typ,\n" f"\t\t.unmarshal = (_unmarshal_fn_t)unmarshal_##typ,\n" f"\t}}\n" -- cgit v1.2.3-2-g168b