diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-03-02 17:02:16 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-03-04 10:24:33 +0200 |
commit | 5745a109116da7bb435ec77478983d2351fb18f5 (patch) | |
tree | 589d6554fc9d4cb45958c82e15b96bf22fad851d | |
parent | aaaa2e833bd417a03eb94ba17c6d7e4605df6a27 (diff) |
utils: ipc: templates: Drop unused variable
The has_input variable is unused, drop it.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
-rw-r--r-- | utils/ipc/generators/libcamera_templates/module_ipa_proxy.cpp.tmpl | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/utils/ipc/generators/libcamera_templates/module_ipa_proxy.cpp.tmpl b/utils/ipc/generators/libcamera_templates/module_ipa_proxy.cpp.tmpl index ba34a361..d451fab3 100644 --- a/utils/ipc/generators/libcamera_templates/module_ipa_proxy.cpp.tmpl +++ b/utils/ipc/generators/libcamera_templates/module_ipa_proxy.cpp.tmpl @@ -174,7 +174,6 @@ void {{proxy_name}}::recvMessage(const IPCMessage &data) {{proxy_funcs.func_sig(proxy_name, method, "IPC")}} { -{%- set has_input = true if method|method_param_inputs|length > 0 %} {%- set has_output = true if method|method_param_outputs|length > 0 or method|method_return_value != "void" %} {%- set cmd = cmd_enum_name + "::" + method.mojom_name|cap %} IPCMessage::Header _header = { static_cast<uint32_t>({{cmd}}), seq_++ }; |