Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2672169ybh; Fri, 24 Jul 2020 20:47:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0CBxnD3J3ioxYdoijqBuqKg+ZheRWhgTFGUgE17thphL70mvfriFySozuf24+la0qqTsh X-Received: by 2002:a17:907:11db:: with SMTP id va27mr12575440ejb.175.1595648860203; Fri, 24 Jul 2020 20:47:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595648860; cv=none; d=google.com; s=arc-20160816; b=LiCzVnNo2EJpUXK9psA7BfNycnpc0NiH6/p6Yd4iecjrfmE15fforfJ5UbDiWEs7F+ Dr9vrSpWw1e3SPHAMsNnvViYRND3w+Lj9wz1REiGd+A0Z+pTI8mU8uOAI6QjVEjSnh4p NMapJUrqJYIOrrEKxIgGttStxQt0AlZm4+3cmuOmd/6TQBj5A0fhsP/E5E21vorcIHHJ bbCbz5kF9SR7jBDT/5VnZAQPyDDRDfdlZyYmNLCC8AUDSHwXC5ZjXrIu8obxe5GnBhtg CVMeCZHjb+hKpU2cuMlIdZ+HcbUbXpX+xROthb2CVLUlFahJaRW3UlHBreMygHbc+JJp wvGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=UtdFla9Pl871ZFx8YpoWPTTB7ZlDLDppvv6dm8Gw3jI=; b=mmoYpav7cAPXrgmBFR3nmWgI6V8CUfZe2vxD/ir7WtrYDD9QbqiWixoznkyox+a8BH 5wJh/iYCY/Pp8ZL7NR76HLnCMCPhwaBBmtNPmF+L3MnEkHv6D3DXWbgE18sBmp08K+5N m+QBkEN8SRzwGOfo9ig/auSOJKtYqAOBwV0JQIZ4lDW2wRDgtDxPrQ8Ifb6Pl95/pCBp nqzRwTzIQG6ahg18XGZEHTfvB953nTOJS+63wC3//aWMYCxOzgq3dlGbOuwf4gpwv9qL vZEij9uIUIXmXpcBJ/0JBuKnPf/4yz9CI9YsEW+ySc50+LGHUWutvaV/6ekUwSIe+OOT Q8YA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h22si1784848ejj.363.2020.07.24.20.46.57; Fri, 24 Jul 2020 20:47:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726782AbgGYDqw (ORCPT + 99 others); Fri, 24 Jul 2020 23:46:52 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:8813 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726593AbgGYDqw (ORCPT ); Fri, 24 Jul 2020 23:46:52 -0400 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id CA5C1A56A7D3833017A7; Sat, 25 Jul 2020 11:46:49 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.487.0; Sat, 25 Jul 2020 11:46:39 +0800 From: Yang Shen To: , CC: , , , Subject: [PATCH 01/10] crypto: hisilicon/zip - remove some useless parameters Date: Sat, 25 Jul 2020 11:44:34 +0800 Message-ID: <1595648683-50590-2-git-send-email-shenyang39@huawei.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1595648683-50590-1-git-send-email-shenyang39@huawei.com> References: <1595648683-50590-1-git-send-email-shenyang39@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org 1.Remove the macro 'HZIP_VF_NUM'. 2.Remove 'list' of the struct 'hisi_zip' Signed-off-by: Yang Shen Reviewed-by: Zhou Wang --- drivers/crypto/hisilicon/zip/zip.h | 1 - drivers/crypto/hisilicon/zip/zip_main.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/crypto/hisilicon/zip/zip.h b/drivers/crypto/hisilicon/zip/zip.h index 4484be1..4b3aae8 100644 --- a/drivers/crypto/hisilicon/zip/zip.h +++ b/drivers/crypto/hisilicon/zip/zip.h @@ -39,7 +39,6 @@ struct hisi_zip_ctrl; struct hisi_zip { struct hisi_qm qm; - struct list_head list; struct hisi_zip_ctrl *ctrl; struct hisi_zip_dfx dfx; }; diff --git a/drivers/crypto/hisilicon/zip/zip_main.c b/drivers/crypto/hisilicon/zip/zip_main.c index 7e86b0f..445db04 100644 --- a/drivers/crypto/hisilicon/zip/zip_main.c +++ b/drivers/crypto/hisilicon/zip/zip_main.c @@ -17,7 +17,6 @@ #define PCI_DEVICE_ID_ZIP_PF 0xa250 #define PCI_DEVICE_ID_ZIP_VF 0xa251 -#define HZIP_VF_NUM 63 #define HZIP_QUEUE_NUM_V1 4096 #define HZIP_QUEUE_NUM_V2 1024 -- 2.7.4