From patchwork Sun Sep 3 14:57:40 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: 111523 Delivered-To: patch@linaro.org Received: by 10.140.94.166 with SMTP id g35csp454274qge; Sun, 3 Sep 2017 07:58:18 -0700 (PDT) X-Google-Smtp-Source: ADKCNb7TGvKB1pRLzWiH4G9rS31SRqmcGxnm2X2b46gywYMN3f3dil64aLe9I/y7AIlomsahkMNz X-Received: by 10.98.43.78 with SMTP id r75mr8494572pfr.255.1504450697908; Sun, 03 Sep 2017 07:58:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504450697; cv=none; d=google.com; s=arc-20160816; b=d9JGMPbizz8XQWC2956NQa0wa8cND7p19DB0eSf22+aK2bo/lHQsW80fDFDhGdfyvC EMSO3WBGVnxWAwaqtd11JWYTDj8N576DsiKVGRgT7YxfMgV9iZrNiP5QRrAofd3kIIV5 tj32v5D2mcTkMr09MXOz3fpD4Gt6oX4A3BdX+XEG01a2CPYA6W1LrGX9HbeYKNtUE9Mv T76srZw0TtOSIBStrgCQR1Jiyp9dNkj2AFOBodrnQXH8OI6pg16OVNhcohn3m4jjg1N5 V5CHVqzbcDjcZf07aZ+i7aKY17UQ+zG5JT7G+7kKh52c43XjwR+D4TbDw4kv3GT/8O+I EbFA== 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=IUY6tdFMhiOLvAJqCnO9u44l55Nwa/RmzQfSW3VTfXbxOPxqbuU6oMxMTRV2M33Tim Q1uPjP+p4fBrTyA+u7EOdQPo7oAi7s0bTsU+sCPmor6JG+oKu1Bvd1919ZZX++X7MVgH liO2ekLW7GX+xq9IC0JFswh12/VJ3BfQj47qoWSW7186Fj6owjtZn0p4pswWB94H2kTc vVq1ziEj+c+WeiaEBnbSbCe92JfOce8a23rjQUOR2cDooo9R0AjGWi+qsRPwgp8J2n4v QYAaIyz6tzoU++BTZ6GKfLU6oRV5rdSokqZd0J74IxXnNlKwFfCjnTYwj3nX9BZLQK+W RC+A== 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 j186si3507923pgc.500.2017.09.03.07.58.17; Sun, 03 Sep 2017 07:58:17 -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 S1753253AbdICO6N (ORCPT + 26 others); Sun, 3 Sep 2017 10:58:13 -0400 Received: from foss.arm.com ([217.140.101.70]:50892 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753232AbdICO6J (ORCPT ); Sun, 3 Sep 2017 10:58:09 -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 2713A80D; Sun, 3 Sep 2017 07:58:09 -0700 (PDT) Received: from localhost.localdomain (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5459D3F3E1; Sun, 3 Sep 2017 07:58:07 -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 v2 5/8] staging: ccree: remove unused completion Date: Sun, 3 Sep 2017 17:57:40 +0300 Message-Id: <1504450664-28252-6-git-send-email-gilad@benyossef.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1504450664-28252-1-git-send-email-gilad@benyossef.com> References: <1504450664-28252-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;