aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorwengjianfeng <[email protected]>2021-02-23 15:54:38 +0800
committerKalle Valo <[email protected]>2021-03-15 10:23:11 +0200
commit4a7ea94377c928355f778bd2f5cac73757935425 (patch)
tree78146c78bba134e61a0bfd666d1bfd6d4ed6edc0 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent5b492c7dbddaba4a1c1d4e72ec974ee459b4afe7 (diff)
rtw88: remove unnecessary variable
The variable ret is defined at the beginning and initialized to 0 until the function returns ret, and the variable ret is not reassigned.Therefore, we do not need to define the variable ret, just return 0 directly at the end of the function. Signed-off-by: wengjianfeng <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions