Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Chenghai Huang and committed by
Herbert Xu
6e7619dc ff349530

+2 -2
+2 -2
drivers/crypto/hisilicon/qm.c
··· 4278 4278 { 4279 4279 if (num_vfs == 0) 4280 4280 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); 4283 4283 } 4284 4284 EXPORT_SYMBOL_GPL(hisi_qm_sriov_configure); 4285 4285