Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1867310pxa; Sun, 23 Aug 2020 20:16:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztp+H3hBZCz9bw21YbMGvqGzVrWXmclLebLUNnO3Df/Ouc+Rine2LT4SA0ekdRFS1cx6Oh X-Received: by 2002:aa7:d1cb:: with SMTP id g11mr3500169edp.26.1598239015601; Sun, 23 Aug 2020 20:16:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598239015; cv=none; d=google.com; s=arc-20160816; b=VGle57gxpX2KW4mNUIWVfK/MA0VUunG1ccLkX1O1N9MG3QWyElHjYCUHrtSQPX7eno Ppo39FUb5hnrk0ljVmaeSyJlpjmP5DAeJNWnG1Sj0fui/dzgPD71tQUrfQ2UM+HvzAYL ed4joTByW/ueqt26eNMVX3Pf8eTFw1A+y8qYH0y+py3yKxlZ9kqe4NDBiT30c0gHZ6Ue nZ0IOzZT3U87fYrnClvddoxHbW5GGvg93x5vZwcVnH3fAMfnOA30gGvDGE0LlzYC55I8 AZCpgTNs+tGM2ydy4kCu4O8jhfsEKHvmlZ3U/ePe9QjKpOGXX82dtX0lvrd2im8qs/Gm u9qg== 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=q+hSRnF1QIBWj+3UvdV1FqYzE8XduftZw6vsNjvexRDp4/XcDgfxYj+vR7PxhShdEo 5TRUiXWvcmW+uJogxdC5OpyVgxGAvHHevPFbRMgQDjaewWRGtza+HuAWv9ELqdaeTlVR PmIDWTsFcF6qOy9cHYTqgqHiaY5MfHUrb18npdPw17ZxrBWlwQ/XU8IStfuxc+9SWuGp bLO/QqRVoauunsli+Vu8wZ85CSJ4fdLdnNVkVftowwFeCCFWWPidRESE+eGX24cAAmyo ilMQMlidRQ1xRzZN2WhCS+TqR6sCz84kNF1vVVeye1D0GTSloHKz2aiY8br3jgR+wqBQ wEiQ== 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 w17si1514896edq.538.2020.08.23.20.16.19; Sun, 23 Aug 2020 20:16:55 -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 S1728034AbgHXDO2 (ORCPT + 99 others); Sun, 23 Aug 2020 23:14:28 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:43166 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727995AbgHXDO1 (ORCPT ); Sun, 23 Aug 2020 23:14:27 -0400 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id A42326FB82CD820ADB27; Mon, 24 Aug 2020 11:14:24 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.487.0; Mon, 24 Aug 2020 11:14:14 +0800 From: Yang Shen To: , CC: , , , Subject: [PATCH RESEND 01/10] crypto: hisilicon/zip - remove some useless parameters Date: Mon, 24 Aug 2020 11:11:40 +0800 Message-ID: <1598238709-58699-2-git-send-email-shenyang39@huawei.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1598238709-58699-1-git-send-email-shenyang39@huawei.com> References: <1598238709-58699-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