aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorYeqi Fu <[email protected]>2023-05-18 18:12:16 +0800
committerUlf Hansson <[email protected]>2023-06-12 15:16:19 +0200
commit584f5488e4845522f526e467138526f0155e9ab6 (patch)
tree2266a1aa401a69c02366d7105a10526441b6cc57 /tools/perf/scripts/python/event_analyzing_sample.py
parent434587df9f7fd68575f99a889cc5f2efc2eaee5e (diff)
mmc: core: Remove unnecessary error checks and change return type
The error checks in mmc_blk_add_debugfs() and mmc_blk_remove_debugfs() are extraneous. Therefore, this patch removes all error checks from both functions. Additionally, mmc_blk_add_debugfs() has been changed to return void instead of an integer value that was never used. This simplifies the function and improves its clarity. Signed-off-by: Yeqi Fu <[email protected]> Acked-by: Adrian Hunter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions