From patchwork Tue Mar 2 15:05:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 11459 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 61747BD1F1 for ; Tue, 2 Mar 2021 15:05:36 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id CD54068A9A; Tue, 2 Mar 2021 16:05:35 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="WzpjXtut"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 7C10168A7E for ; Tue, 2 Mar 2021 16:05:34 +0100 (CET) Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id DA08545D; Tue, 2 Mar 2021 16:05:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1614697534; bh=h0Tfad6BDwqwYPgf+8/fureccdPbka/8mpPSYXhVpUM=; h=From:To:Cc:Subject:Date:From; b=WzpjXtutQ8QyGZ6mj7K5FscOl1Fwb+pYNSlfCedw2+Grbc6ESy3/A8h4+oYMg3rOi ps5CDqwVJURzyBInbPUaLUMym8Gfsgk2ZlIATh5kUvaoRA0vB8NuCCQcLdCkFYVNq6 ayruz1/fkdn5GgGHgsz/j0myFfvLfMLaAZzQJ7qk= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Tue, 2 Mar 2021 17:05:00 +0200 Message-Id: <20210302150501.15191-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 1/2] utils: ipc: templates: Drop unused variable X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The has_input variable is unused, drop it. Signed-off-by: Laurent Pinchart Reviewed-by: Paul Elder --- .../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({{cmd}}), seq_++ };