aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorManivannan Sadhasivam <[email protected]>2022-12-22 19:39:51 +0530
committerMartin K. Petersen <[email protected]>2023-01-11 21:49:33 -0500
commit031312dbc6950a6a661f2f9ecfbc21fbc2e0e3e3 (patch)
tree2614501144a9ff31d07a7eb6b442d3dfa4802887 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent2d95c6deb64dfb1496bd202aaffdbdb4b420a196 (diff)
scsi: ufs: ufs-qcom: Remove unnecessary goto statements
A goto statement in an error path is useful if the function needs to do cleanup other than returning the error code. But in this driver, goto statements are used for just returning the error code in many places. This really makes it hard to read the code. Get rid of those goto statements and just return the error code directly. Reviewed-by: Dmitry Baryshkov <[email protected]> Reviewed-by: Asutosh Das <[email protected]> Tested-by: Andrew Halaney <[email protected]> # Qdrive3/sa8540p-ride Signed-off-by: Manivannan Sadhasivam <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions