Skip to content

Commit 6e7619d

Browse files
Chenghai Huangherbertx
authored andcommitted
crypto: hisilicon/qm - remove else after return
Else condition is not needed after a return, remove it. Signed-off-by: Chenghai Huang <huangchenghai2@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent ff34953 commit 6e7619d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • drivers/crypto/hisilicon

drivers/crypto/hisilicon/qm.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4278,8 +4278,8 @@ int hisi_qm_sriov_configure(struct pci_dev *pdev, int num_vfs)
42784278
{
42794279
if (num_vfs == 0)
42804280
return hisi_qm_sriov_disable(pdev, false);
4281-
else
4282-
return hisi_qm_sriov_enable(pdev, num_vfs);
4281+
4282+
return hisi_qm_sriov_enable(pdev, num_vfs);
42834283
}
42844284
EXPORT_SYMBOL_GPL(hisi_qm_sriov_configure);
42854285

0 commit comments

Comments
 (0)