Commit c5f735bb authored by Kai Ye's avatar Kai Ye Committed by Herbert Xu

crypto: hisilicon/sgl - delete unneeded variable initialization

Delete unneeded variable initialization
Signed-off-by: default avatarKai Ye <yekai13@huawei.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 51028c6e
...@@ -56,7 +56,7 @@ struct hisi_acc_sgl_pool { ...@@ -56,7 +56,7 @@ struct hisi_acc_sgl_pool {
struct hisi_acc_sgl_pool *hisi_acc_create_sgl_pool(struct device *dev, struct hisi_acc_sgl_pool *hisi_acc_create_sgl_pool(struct device *dev,
u32 count, u32 sge_nr) u32 count, u32 sge_nr)
{ {
u32 sgl_size, block_size, sgl_num_per_block, block_num, remain_sgl = 0; u32 sgl_size, block_size, sgl_num_per_block, block_num, remain_sgl;
struct hisi_acc_sgl_pool *pool; struct hisi_acc_sgl_pool *pool;
struct mem_block *block; struct mem_block *block;
u32 i, j; u32 i, j;
......
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