summaryrefslogtreecommitdiff
path: root/lib9p/protogen/c.py
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-04-02 15:59:14 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-04-02 15:59:14 -0600
commitc077d93a390be2b00e95b3c91adf3c23bc2d0f27 (patch)
treebabe61a4ed092efbca1db59c47ae31e665103f31 /lib9p/protogen/c.py
parent227a8d2f2a7e104460399ad24b3b2963f0842e86 (diff)
lib9p: recv_tentry.basesize is dead code, remove it
Diffstat (limited to 'lib9p/protogen/c.py')
-rw-r--r--lib9p/protogen/c.py1
1 files changed, 0 insertions, 1 deletions
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"