staging: r8188eu: simplify error handling in phy_BB8188E_Config_ParaFile
authorMartin Kaiser <martin@kaiser.cx>
Thu, 3 Feb 2022 20:17:45 +0000 (21:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Feb 2022 14:25:14 +0000 (15:25 +0100)
commit04952a99cb6e6a218c40b8b22e4103962a5c4cac
tree51531eab34772d9063102f9e408b5ed4f2c5bcbc
parent3993e760881b06e827d967d0cd6ba676d09457a9
staging: r8188eu: simplify error handling in phy_BB8188E_Config_ParaFile

Simplify error handling in phy_BB8188E_Config_ParaFile. Exit immediately
when there's an error, do not jump to the end of the function. We do not
have anything to clean up before we return.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220203201745.251826-3-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/rtl8188e_phycfg.c