From patchwork Tue Jun 27 07:27:24 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: 106393 Delivered-To: patch@linaro.org Received: by 10.140.101.48 with SMTP id t45csp907278qge; Tue, 27 Jun 2017 00:29:08 -0700 (PDT) X-Received: by 10.98.57.4 with SMTP id g4mr3899056pfa.155.1498548548529; Tue, 27 Jun 2017 00:29:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498548548; cv=none; d=google.com; s=arc-20160816; b=SmxfmXgs7fWbOiNxVNBNxCcYng/HAu9PJ/dtDEFg/g0qJ4NGWkIIp4qZdcxHdQ1q4o l8SsxhFdm98za6eEwFqe9gwnmuf5XQ3cDs3Y1/aTYZWF6PLZP0nstd4tGs3zHeXLGNdu C4t0RDMuO1KuQ0A+RZg35TFWtmHDQXnKM9hZKf2QU4gSal6g5uWTKEVh6Zvo3xXAvqhv Z+xN5iWXvk+mlmzhwXgP/m9H0c9p4+O0dA1cGgT/SejQRyBPtUQJuGvV1IG6GVkjqFpY JxC0Gmx3+DxFOrnuD9OMqjhC7TVegSmT/db9vvuAd87c0PbWb9XHypmKgWoDAAACucSB yP4Q== 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=5W9PAjywYv4a/k9RqJkHN7d7YfTH2ZMkm8FtcH9IE2c=; b=kFJZRoLypgABEOGJe2eIBWICu1AEseBbPqrgzR2ensf2I0OAQrUChe33dlkA5TCWjJ xDwg598bRFRGIWX8PcaQ7d4a2IeE3aRgkH851D0MryQez2yrke1dXTSmmRerGfAkoedL mdGSL+NpstKXXHecJ8ojJ3mYTMArJShZpymrhgzqmPM+VMG2O6wy5HEgz6Xs/Z4jFqgC 9Kgl+bSGhMU5fuQeIdyEbAj/Ea/98ZxvHK6qLL0E8k1npEkxQtHUdDCHNSXvzkbEK9Os VsXJnBPe1EyKA9kBc51qBVorhFrNfbLeeOkLjtNUIB3KdQrYSVT8xvUOoMUNwSrs4Ei4 QjiQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-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 s62si1439176pgb.247.2017.06.27.00.29.08; Tue, 27 Jun 2017 00:29:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-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-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752566AbdF0H2u (ORCPT + 1 other); Tue, 27 Jun 2017 03:28:50 -0400 Received: from foss.arm.com ([217.140.101.70]:52524 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752550AbdF0H2n (ORCPT ); Tue, 27 Jun 2017 03:28:43 -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 30A2F1596; Tue, 27 Jun 2017 00:28:42 -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 9A8103F4FF; Tue, 27 Jun 2017 00:28:40 -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 12/14] staging: ccree: remove unused type CCFipsSyncStatus_t Date: Tue, 27 Jun 2017 10:27:24 +0300 Message-Id: <1498548449-10803-13-git-send-email-gilad@benyossef.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1498548449-10803-1-git-send-email-gilad@benyossef.com> References: <1498548449-10803-1-git-send-email-gilad@benyossef.com> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org The CCFipsSyncStatus_t type was not being used in the code. Remove it. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_fips_local.h | 10 ---------- 1 file changed, 10 deletions(-) -- 2.1.4 diff --git a/drivers/staging/ccree/ssi_fips_local.h b/drivers/staging/ccree/ssi_fips_local.h index 0fbb1e0..4bc7f37 100644 --- a/drivers/staging/ccree/ssi_fips_local.h +++ b/drivers/staging/ccree/ssi_fips_local.h @@ -23,16 +23,6 @@ #include "ssi_fips.h" struct ssi_drvdata; -// IG - how to make 1 file for TEE and REE -typedef enum CC_FipsSyncStatus { - CC_FIPS_SYNC_MODULE_OK = 0x0, - CC_FIPS_SYNC_MODULE_ERROR = 0x1, - CC_FIPS_SYNC_REE_STATUS = 0x4, - CC_FIPS_SYNC_TEE_STATUS = 0x8, - CC_FIPS_SYNC_STATUS_RESERVE32B = S32_MAX -} CCFipsSyncStatus_t; - - #define CHECK_AND_RETURN_UPON_FIPS_ERROR() {\ if (ssi_fips_check_fips_error() != 0) {\ return -ENOEXEC;\