From patchwork Tue Aug 15 06:26:35 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: 110095 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp5114957obb; Mon, 14 Aug 2017 23:27:43 -0700 (PDT) X-Received: by 10.84.174.67 with SMTP id q61mr30185110plb.463.1502778463147; Mon, 14 Aug 2017 23:27:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502778463; cv=none; d=google.com; s=arc-20160816; b=Q9N4/p5JbsWMpSUhDVpgGgefBazTw/hMu7rx/10Vrp+QXUXgEPpcqD5JSM3YYokZui ANPdIWMU3ESz2u8CuWbxag9O2ZX00KNnyIoGTcIQaO2B8sdnPocgqiTjNx9sbG4Gj8Ad +veCyMozneQu3gxgs9qpvs0vntvvNbSZb9w4l1BG/3/jMTssJsnFTBg4KN/9phLCqC4l CeDFLRn27U70Wp2NE96gHw/tc4Yw4jB7UuIquBXz+9fiDJYDoEJ6Rd9sAr4+OFYoYZ2V OtQYNXhMpMbcByBnkhy7X8EJlphB/aSxPWWUKX4S0etw8iR1doBgzmnaAZwBsHYImUAk Uxqw== 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=5KyvdheYTLcuPK9akPE8jy8FWvHoc5iTWOZTmOeT0pM=; b=c6K6MdFKOsxoFsq6vq5zFxHCK0L2Zy5Y+19x40cj4HNLBudV70Q8WoVDYyNbFn8Bn6 xn/PCLeHRGnLVezWyFwh88cY3EwE0xld/nY+IXeM6QXPxhcLmgkP582cTScVyG1+s3b6 NNoWfL10RJXwctNasgVwBNsjqU0UdH0JR4SzePhskN+aUpnUG7P6jyy5hSMBIBBQoVvw ThZhIeHkhKMJ+odv5zd962OxPkA6O8caMIcwDwVRkM6yJ1U/qn6M4UpJIPZxhkc9Mk3B p8tznpn6F0OkBI/jwT25wMUCQ0dmvR4MZI+884WRvWuqsp4TX9V675Rg0li6gfWEi7ZG CT4A== 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 g6si5763883plm.924.2017.08.14.23.27.42; Mon, 14 Aug 2017 23:27:43 -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 S1753390AbdHOG1j (ORCPT + 25 others); Tue, 15 Aug 2017 02:27:39 -0400 Received: from foss.arm.com ([217.140.101.70]:48086 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753071AbdHOG1g (ORCPT ); Tue, 15 Aug 2017 02:27:36 -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 1B2DE2B; Mon, 14 Aug 2017 23:27:36 -0700 (PDT) Received: from gby.kfn.arm.com (unknown [10.45.48.148]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 72F383F3E1; Mon, 14 Aug 2017 23:27:34 -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 07/22] staging: ccree: remove unused completion Date: Tue, 15 Aug 2017 09:26:35 +0300 Message-Id: <1502778412-16255-8-git-send-email-gilad@benyossef.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1502778412-16255-1-git-send-email-gilad@benyossef.com> References: <1502778412-16255-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 1b95f90..928c988 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;