From patchwork Thu Jun 22 07:07:50 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: 106155 Delivered-To: patch@linaro.org Received: by 10.140.91.2 with SMTP id y2csp2316942qgd; Thu, 22 Jun 2017 00:09:48 -0700 (PDT) X-Received: by 10.84.225.5 with SMTP id t5mr1317401plj.108.1498115388290; Thu, 22 Jun 2017 00:09:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498115388; cv=none; d=google.com; s=arc-20160816; b=mR9R/UHzopklZOheQUKOyyPxdT+SYi6K017Qmc+O17HGCXezi/iY/ypHLvvStK68+4 DsPjeuJPAlF3WBAqDLaqhcbj3wR5LCefCkI6hhIqG/enZhCtGnsH7K5FOsfm+zuwzvKS 7dsH8dQkKPKd7cN7Ky048QQ6h3D3De6hl8WO2VuFiHTwTFKFUuCvBrmF6HyF2OJHwRYc hE802p1SPfy+oDNldnKzo/kWapTJnZ7lGml3HHi20dnM58z1IxW80J4Hojgd3estpiTh x7WPDZZwo/RJOJHbOfUPpNUicsOvpmefLmrDaA7R4APuYRe70mGwoIHthJMZyz5I8Znj H3lA== 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=gn+0Eo/Ayjdqgos3TKfdraEQM44Ag+3YzFMgViV3COg=; b=JjpnkyFBRogKhKWkcPLhASDX8j0xT0av+dWDIJ5m62S21k5JnqrpnZKSfaVxuGzlCV 3POHvFNytlvwdNlt/t7KGoovxmKRhvREAY2pn7H4IaRG8S6xj0DaSFMhipQhnqTExas0 Z894N7stoQ1uRHXP8hXRmrPpb7KqU3tzA9P+ZyH4rB5raQyK5NBDnheTpCPc3DjQsuCw PQ1M9US9yneTSnsG/iclaGhbYnEa/86PUbOkbR8Eg9K2NBZbkN9BvN0+sVfoFnvFabC8 oRdYbOmzaXEzbuSJrOj4WjJfTJlCZWbP+bTmZZuj9h95aOZ6yeHCysbcnDoJVeyCJ7Hq yIsQ== 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 t5si543286pfe.291.2017.06.22.00.09.47; Thu, 22 Jun 2017 00:09:48 -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 S1752755AbdFVHI2 (ORCPT + 25 others); Thu, 22 Jun 2017 03:08:28 -0400 Received: from foss.arm.com ([217.140.101.70]:33378 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751143AbdFVHIZ (ORCPT ); Thu, 22 Jun 2017 03:08:25 -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 AC53F1610; Thu, 22 Jun 2017 00:08:24 -0700 (PDT) Received: from gby.kfn.arm.com (unknown [10.45.48.178]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2A2ED3F587; Thu, 22 Jun 2017 00:08:22 -0700 (PDT) From: Gilad Ben-Yossef To: Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, driverdev-devel@linuxdriverproject.org, devel@driverdev.osuosl.org Cc: Ofir Drang Subject: [PATCH 4/7] staging: ccree: remove unused function Date: Thu, 22 Jun 2017 10:07:50 +0300 Message-Id: <1498115276-1601-5-git-send-email-gilad@benyossef.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1498115276-1601-1-git-send-email-gilad@benyossef.com> References: <1498115276-1601-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 The function set_ack_last was not used anywhere. Remove it. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/cc_hw_queue_defs.h | 12 ------------ 1 file changed, 12 deletions(-) -- 2.1.4 diff --git a/drivers/staging/ccree/cc_hw_queue_defs.h b/drivers/staging/ccree/cc_hw_queue_defs.h index c730c3c..ac0eb97 100644 --- a/drivers/staging/ccree/cc_hw_queue_defs.h +++ b/drivers/staging/ccree/cc_hw_queue_defs.h @@ -226,18 +226,6 @@ static inline void set_queue_last_ind_bit(struct cc_hw_desc *pdesc) } /* - * Signs the end of HW descriptors flow by asking for completion ack, - * and release the HW engines - * - * @pdesc: pointer HW descriptor struct - */ -static inline void set_ack_last(struct cc_hw_desc *pdesc) -{ - pdesc->word[3] |= FIELD_PREP(WORD3_QUEUE_LAST_IND, 1); - pdesc->word[4] |= FIELD_PREP(WORD4_ACK_NEEDED, 1); -} - -/* * Set the DIN field of a HW descriptors * * @pdesc: pointer HW descriptor struct