summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorEnze Li <lienze@kylinos.cn>2023-03-27 06:02:37 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2023-04-03 04:36:47 +0300
commitca62009eff728c0a62ea76184adcc6be411f4066 (patch)
tree6939412993a739d5c0aeb219f1103d3c121ebb41 /tools/perf/scripts/python/syscall-counts.py
parentaa4d7812cf2cb0847e027d0e2a124926eea9d4fb (diff)
downloadlinux-ca62009eff728c0a62ea76184adcc6be411f4066.tar.xz
scsi: sr: Simplify the sr_open() function
Simplify the sr_open() by removing the goto label as the function only returns one error code. Signed-off-by: Enze Li <lienze@kylinos.cn> Link: https://lore.kernel.org/r/20230327030237.3407253-1-lienze@kylinos.cn Reviewed-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Benjamin Block <bblock@linux.ibm.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions