mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 15:41:52 +02:00
crypto: hisilicon/qm - no judgment in the back process
Judgment should not be added in the back process. So clean it. Signed-off-by: Kai Ye <yekai13@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
9b32fed8d6
commit
d03e89b3eb
|
|
@ -1357,11 +1357,9 @@ static int qm_set_sqc_cqc_vft(struct hisi_qm *qm, u32 fun_num, u32 base,
|
|||
|
||||
return 0;
|
||||
back_sqc_cqc:
|
||||
for (i = SQC_VFT; i <= CQC_VFT; i++) {
|
||||
ret = qm_set_vft_common(qm, i, fun_num, 0, 0);
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
for (i = SQC_VFT; i <= CQC_VFT; i++)
|
||||
qm_set_vft_common(qm, i, fun_num, 0, 0);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user