ipc: Generated code doesn't need to care about line length

This commit is contained in:
Jakob Bornecrantz 2022-11-06 03:17:01 +00:00 committed by Jakob Bornecrantz
parent 8601499a5a
commit 86a6b4b3e3

View file

@ -263,10 +263,8 @@ ipc_dispatch(volatile struct ipc_client_state *ics, ipc_command_t *ipc_command)
if call.needs_msg_struct:
f.write(
"\t\tstruct ipc_{}_msg *msg =\n".format(call.name))
f.write(
"\t\t (struct ipc_{}_msg *)ipc_command;\n".format(
call.name))
"\t\tstruct ipc_{}_msg *msg = ".format(call.name))
f.write("(struct ipc_{}_msg *)ipc_command;\n".format(call.name))
if call.out_args:
f.write("\t\tstruct ipc_%s_reply reply = {0};\n" % call.name)
else: