diff options
author | Kai Ye <yekai13@huawei.com> | 2021-04-09 17:04:01 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-04-16 21:16:34 +1000 |
commit | c5f735bbf35a67c5f3c6db0d7621159f1cb536d1 (patch) | |
tree | 3e1173ad74a74b98ada17482548e8f36fe9dc23b /drivers | |
parent | 51028c6efa90ba4ab2311b0977287aac8c154f5b (diff) | |
download | linux-c5f735bbf35a67c5f3c6db0d7621159f1cb536d1.tar.bz2 |
crypto: hisilicon/sgl - delete unneeded variable initialization
Delete unneeded variable initialization
Signed-off-by: Kai Ye <yekai13@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/crypto/hisilicon/sgl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/hisilicon/sgl.c b/drivers/crypto/hisilicon/sgl.c index cf1629c367b3..b8a811fb3346 100644 --- a/drivers/crypto/hisilicon/sgl.c +++ b/drivers/crypto/hisilicon/sgl.c @@ -56,7 +56,7 @@ struct hisi_acc_sgl_pool { struct hisi_acc_sgl_pool *hisi_acc_create_sgl_pool(struct device *dev, 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 mem_block *block; u32 i, j; |