From 51e5d67f8e70a316f08c928bc1000a76c163e06c Mon Sep 17 00:00:00 2001 From: Paul Elder Date: Mon, 8 Mar 2021 16:48:26 +0900 Subject: utils: ipc: Support custom parameters to init() Add support to the mojom-based code generator for custom parameters to init(). Remove the parameter type and count validation as well. Signed-off-by: Paul Elder Reviewed-by: Laurent Pinchart --- .../ipc/generators/libcamera_templates/proxy_functions.tmpl | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'utils/ipc/generators/libcamera_templates/proxy_functions.tmpl') diff --git a/utils/ipc/generators/libcamera_templates/proxy_functions.tmpl b/utils/ipc/generators/libcamera_templates/proxy_functions.tmpl index 40611feb..f2d86b67 100644 --- a/utils/ipc/generators/libcamera_templates/proxy_functions.tmpl +++ b/utils/ipc/generators/libcamera_templates/proxy_functions.tmpl @@ -19,19 +19,6 @@ ){{" override" if override}} {%- endmacro -%} -{# - # \brief Generate function body for IPA init() function for thread - #} -{%- macro init_thread_body() -%} - int ret = ipa_->init(settings); - if (ret) - return ret; - - proxy_.moveToThread(&thread_); - - return 0; -{%- endmacro -%} - {# # \brief Generate function body for IPA stop() function for thread #} -- cgit v1.2.1