summaryrefslogtreecommitdiff
path: root/drivers/staging/pi433/pi433_if.c
diff options
context:
space:
mode:
authorSaurav Girepunje <saurav.girepunje@gmail.com>2021-10-27 10:08:08 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-10-30 11:15:55 +0200
commit10508ae08ed8ce8794785194ad7309f1437d43fd (patch)
treee8284bcbaca5825a70fabfaec90e896b5b0e1f19 /drivers/staging/pi433/pi433_if.c
parentcacd73e55e77f6d290d827eaf23e9bf28ed20836 (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 <saurav.girepunje@gmail.com> Link: https://lore.kernel.org/r/YXjXsChOpaTThkxT@Sauravs-Air.domain.name Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/pi433/pi433_if.c')
0 files changed, 0 insertions, 0 deletions