Commit 70af3e7e authored by Yang Shen's avatar Yang Shen Committed by Herbert Xu

crypto: hisilicon/zip - remove some useless parameters

1.Remove the macro 'HZIP_VF_NUM'.
2.Remove 'list' of the struct 'hisi_zip'
Signed-off-by: default avatarYang Shen <shenyang39@huawei.com>
Reviewed-by: default avatarZhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 3faf757b
...@@ -39,7 +39,6 @@ struct hisi_zip_ctrl; ...@@ -39,7 +39,6 @@ struct hisi_zip_ctrl;
struct hisi_zip { struct hisi_zip {
struct hisi_qm qm; struct hisi_qm qm;
struct list_head list;
struct hisi_zip_ctrl *ctrl; struct hisi_zip_ctrl *ctrl;
struct hisi_zip_dfx dfx; struct hisi_zip_dfx dfx;
}; };
......
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
#define PCI_DEVICE_ID_ZIP_PF 0xa250 #define PCI_DEVICE_ID_ZIP_PF 0xa250
#define PCI_DEVICE_ID_ZIP_VF 0xa251 #define PCI_DEVICE_ID_ZIP_VF 0xa251
#define HZIP_VF_NUM 63
#define HZIP_QUEUE_NUM_V1 4096 #define HZIP_QUEUE_NUM_V1 4096
#define HZIP_QUEUE_NUM_V2 1024 #define HZIP_QUEUE_NUM_V2 1024
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment