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>
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user