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>master
parent
ff34953026
commit
6e7619dc6a
|
|
@ -4278,8 +4278,8 @@ int hisi_qm_sriov_configure(struct pci_dev *pdev, int num_vfs)
|
|||
{
|
||||
if (num_vfs == 0)
|
||||
return hisi_qm_sriov_disable(pdev, false);
|
||||
else
|
||||
return hisi_qm_sriov_enable(pdev, num_vfs);
|
||||
|
||||
return hisi_qm_sriov_enable(pdev, num_vfs);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(hisi_qm_sriov_configure);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue