[libcamera-devel] [PATCH 1/2] utils: ipc: templates: Drop unused variable
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Tue Mar 2 16:05:00 CET 2021
The has_input variable is unused, drop it.
Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
.../ipc/generators/libcamera_templates/module_ipa_proxy.cpp.tmpl | 1 -
1 file changed, 1 deletion(-)
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 ba34a361f811..d451fab35e83 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_++ };
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list