diff options
author | Saurav Girepunje <[email protected]> | 2021-10-27 10:08:08 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-10-30 11:15:55 +0200 |
commit | 10508ae08ed8ce8794785194ad7309f1437d43fd (patch) | |
tree | e8284bcbaca5825a70fabfaec90e896b5b0e1f19 /drivers/usb/cdns3/cdns3-trace.c | |
parent | cacd73e55e77f6d290d827eaf23e9bf28ed20836 (diff) |
staging: r8188eu: hal: remove goto statement and local variable
Remove the goto statement from FillH2CCmd_88E(). In this function goto
can be replace by return statement. As on goto label exit, function
only return it is not performing any cleanup. Avoiding goto will
improve the function readability. After replacing the goto statement
local variable ret is also not needed. So remove the ret local variable.
Signed-off-by: Saurav Girepunje <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions