aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorManivannan Sadhasivam <[email protected]>2022-03-29 21:16:16 +0530
committerMathieu Poirier <[email protected]>2022-04-11 10:04:40 -0600
commit68d9787bdd5cbfa76e795c4015f8d58b84955a01 (patch)
treebc300add930a4338688d72fe3a0629d807f19c74 /tools/perf/scripts/python
parentf20e232d74ee0ace386be0b7db1ff993ea69b4c4 (diff)
remoteproc: Don't bother checking the return value of debugfs_create*
DebugFS APIs are designed to return only the error pointers and not NULL in the case of failure. So these return pointers are safe to be passed on to the successive debugfs_create* APIs. Therefore, let's just get rid of the checks. Signed-off-by: Manivannan Sadhasivam <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mathieu Poirier <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions