diff options
| author | Dan Carpenter <[email protected]> | 2021-06-09 12:56:45 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-06-09 14:16:39 -0700 |
| commit | 4e744cb8126deac52257219fad754614a61989da (patch) | |
| tree | 7888c85b0b00954c99fa30b5d0be8b33a91a9d1e /tools/perf/scripts/python/Perf-Trace-Util/lib | |
| parent | 711d1dee1c86294b43e33202fb1eabd7e524ed9a (diff) | |
netdevsim: delete unnecessary debugfs checking
In normal situations where the driver doesn't dereference
"nsim_node->ddir" or "nsim_node->rate_parent" itself then we are not
supposed to check the return from debugfs functions. In the case of
debugfs_create_dir() the check was wrong as well because it doesn't
return NULL, it returns error pointers.
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions