diff options
| author | Jianuo Kuang <[email protected]> | 2023-04-24 02:41:40 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-04-25 01:12:42 +0000 |
| commit | e515c330d7e22692d03475740fa45d179281cdf7 (patch) | |
| tree | c47bc8510873f2555fd7c94c8553d8e4016c34fa /tools/perf/scripts/python/intel-pt-events.py | |
| parent | net: phy: dp83867: Remove unnecessary (void*) conversions (diff) | |
| download | kernel-e515c330d7e22692d03475740fa45d179281cdf7.tar.gz kernel-e515c330d7e22692d03475740fa45d179281cdf7.zip | |
drivers: nfc: nfcsim: remove return value check of `dev_dir`
Smatch complains that:
nfcsim_debugfs_init_dev() warn: 'dev_dir' is an error pointer or valid
According to the documentation of the debugfs_create_dir() function,
there is no need to check the return value of this function.
Just delete the dead code.
Signed-off-by: Jianuo Kuang <[email protected]>
Reviewed-by: Dongliang Mu <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
