aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2019-06-12 14:12:51 +0200
committerAndy Shevchenko <[email protected]>2019-06-17 15:20:58 +0300
commit0b9dd93492eeaf7233b17c505c29cab10ef196b0 (patch)
tree7765babe240c56186d33f80d9b4494530ac106dd /tools/perf/scripts/python/export-to-sqlite.py
parenta2558e2478043209ef597a17951297abe23278e9 (diff)
platform/x86: acer-wmi: no need to check return value of debugfs_create functions
When calling debugfs functions, there is no need to ever check the return value. The function can work or not, but the code logic should never do something different based on this. Also, because there is no need to save the file dentry, remove the variable that was saving it and just recursively delete the whole directory. Cc: "Lee, Chun-Yi" <[email protected]> Cc: Darren Hart <[email protected]> Cc: Andy Shevchenko <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions