diff options
| author | Greg Kroah-Hartman <[email protected]> | 2019-01-22 16:21:07 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-06-03 15:49:07 +0200 |
| commit | 2d146b924ec3c0873f06308d149684dc1105d9a3 (patch) | |
| tree | f5848a499b5aaa75f58232e34141bc978d44c3ee /tools/perf/scripts/python | |
| parent | c4e41349a85c52456fea4903dde459302d54c67c (diff) | |
backing-dev: 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.
And as the return value does not matter at all, no need to save the
dentry in struct backing_dev_info, so delete it.
Cc: Andrew Morton <[email protected]>
Cc: Anders Roxell <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: [email protected]
Reviewed-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions