diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-06-09 12:55:25 +0300 |
---|---|---|
committer | Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> | 2021-06-10 09:18:15 +0200 |
commit | c7c65703260c88a3e4d7387b2d03023c3625c6d4 (patch) | |
tree | 022a0bd6eeb979baebc158ef8ad08842274e8a54 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 393d66fd2cacba3e6aa95d7bb38790bfb7b1cc3a (diff) |
memory: tegra: Delete dead debugfs checking code
The debugfs_create_dir() function does not return NULL, it returns error
pointers. But in normal situations like this where the caller is not
dereferencing "emc->debugfs.root" then we are not supposed to check the
return. So instead of fixing these checks, we should delete them.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/YMCQDTSyG8UuQoh0@mwanda
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions