summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorYeqi Fu <asuk4.q@gmail.com>2023-05-18 18:12:16 +0800
committerUlf Hansson <ulf.hansson@linaro.org>2023-06-12 15:16:19 +0200
commit584f5488e4845522f526e467138526f0155e9ab6 (patch)
tree2266a1aa401a69c02366d7105a10526441b6cc57 /tools/perf/scripts/python/export-to-postgresql.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 <asuk4.q@gmail.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Link: https://lore.kernel.org/r/20230518101216.369970-1-asuk4.q@gmail.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions