OSDN Git Service

crypto: hisilicon/zip - remove some useless parameters
authorYang Shen <shenyang39@huawei.com>
Mon, 7 Sep 2020 08:21:53 +0000 (16:21 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 18 Sep 2020 07:20:08 +0000 (17:20 +1000)
1.Remove the macro 'HZIP_VF_NUM'.
2.Remove 'list' of the struct 'hisi_zip'

Signed-off-by: Yang Shen <shenyang39@huawei.com>
Reviewed-by: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/zip/zip.h
drivers/crypto/hisilicon/zip/zip_main.c

index 4484be1..4b3aae8 100644 (file)
@@ -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;
 };
index 7e86b0f..445db04 100644 (file)
@@ -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