From patchwork Thu Sep 7 09:00:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gilad Ben-Yossef X-Patchwork-Id: 111872 Delivered-To: patch@linaro.org Received: by 10.140.94.239 with SMTP id g102csp517000qge; Thu, 7 Sep 2017 02:01:46 -0700 (PDT) X-Google-Smtp-Source: ADKCNb6Tc9o+sREf3h1uH3s9EHok7pNUEGDhSCo3KY70wVBpr+cNdU734J4uqdWQUIQT938FpT+p X-Received: by 10.99.129.194 with SMTP id t185mr1925287pgd.195.1504774906579; Thu, 07 Sep 2017 02:01:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504774906; cv=none; d=google.com; s=arc-20160816; b=jEl1fV8xggKnb3fjDuICe0oj+LcOnRR5vc1y93LiW/SZhxcJA5WijCO8MZe+00JigF MzPo8WDiGSH/ElWo5tp1/kY/8AJKTeLWuiDMLVuAFfV3ZpsQVq2uIURu0QZ1Rt1/6DlN jch081YlGyzs373x4G0ud4bWtzEn4RbJMv4l/JgVuj8tGu34GQvv8vbL6mBTmw5RO195 Sr1/Xoy2QJBGo4zoTIu6kS1jZIKv/IFov5U+80yyPTa1lHeDyslV1CFYrjuiDhzSiyQZ z4uhZzHIB5JnM+OKIX88iNrCNoWA0w3iBz49WmmAzYXLGWb90Ra3rSqxIr6Yh99UDyQj UV5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=cltr8pjqX4JQrNKKm4tUqzDLMeEjwcUbneo+qt0i6pw=; b=ql2rUpshCXr9Xd3m2zug+0IjSWWOmnO8qzdwTP6FtlnYQqOiaYjCOPLHch2lXQzGks QeY1jRo/Ct5FF24+zaDnto3d54OvmyVq66vMtKAnJS7Vnb2xSYbmmnDWSw7jhlbIKI2+ eWDJGFEMBLMGLI9mqD/9+EtCDA//ik47Wrsgvo7+PxCT3xeEwVYTZz9ddvL0QSTtBnaU FfoQzk8j2P5b2GJiFNTu0pmIre5oodm96gxH29mHfEhaMHp2MsnbvbctdDRINP8Ah8/g qxb34JJfEAbgHZlMP0PenyQIOwHxD21FZb7LRN2s+Hzpix33ow52/873T9Y/m6SCwuB7 JMig== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3si1598814plp.512.2017.09.07.02.01.46; Thu, 07 Sep 2017 02:01:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755019AbdIGJBm (ORCPT + 26 others); Thu, 7 Sep 2017 05:01:42 -0400 Received: from foss.arm.com ([217.140.101.70]:57266 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754893AbdIGJBk (ORCPT ); Thu, 7 Sep 2017 05:01:40 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B649E80D; Thu, 7 Sep 2017 02:01:39 -0700 (PDT) Received: from gby.kfn.arm.com (unknown [10.45.48.140]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1DBD33F540; Thu, 7 Sep 2017 02:01:37 -0700 (PDT) From: Gilad Ben-Yossef To: Greg Kroah-Hartman , linux-crypto@vger.kernel.org, driverdev-devel@linuxdriverproject.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Cc: Ofir Drang Subject: [PATCH v3 5/8] staging: ccree: remove unused completion Date: Thu, 7 Sep 2017 12:00:13 +0300 Message-Id: <1504774817-11984-6-git-send-email-gilad@benyossef.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1504774817-11984-1-git-send-email-gilad@benyossef.com> References: <1504774817-11984-1-git-send-email-gilad@benyossef.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org icache_setup_completion is no longer used. Remove it. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_driver.c | 2 -- drivers/staging/ccree/ssi_driver.h | 1 - 2 files changed, 3 deletions(-) -- 2.1.4 diff --git a/drivers/staging/ccree/ssi_driver.c b/drivers/staging/ccree/ssi_driver.c index dc22f13..8f1d7af 100644 --- a/drivers/staging/ccree/ssi_driver.c +++ b/drivers/staging/ccree/ssi_driver.c @@ -279,8 +279,6 @@ static int init_cc_resources(struct platform_device *plat_dev) } SSI_LOG_DEBUG("Registered to IRQ: %d\n", new_drvdata->irq); - init_completion(&new_drvdata->icache_setup_completion); - rc = cc_clk_on(new_drvdata); if (rc) goto post_drvdata_err; diff --git a/drivers/staging/ccree/ssi_driver.h b/drivers/staging/ccree/ssi_driver.h index 88ef370..9b6476d 100644 --- a/drivers/staging/ccree/ssi_driver.h +++ b/drivers/staging/ccree/ssi_driver.h @@ -138,7 +138,6 @@ struct ssi_drvdata { u32 monitor_null_cycles; struct platform_device *plat_dev; ssi_sram_addr_t mlli_sram_addr; - struct completion icache_setup_completion; void *buff_mgr_handle; void *hash_handle; void *aead_handle;