diff options
| author | 2018-04-11 11:26:22 +0200 | |
|---|---|---|
| committer | 2018-05-16 07:24:30 +0200 | |
| commit | b8b1483d79550343a687cd4a2c7ff9c82889586f (patch) | |
| tree | 90b92ddd659978127706a748b378985945c727af /tools/perf/scripts/python/sched-migration.py | |
| parent | megaraid: simplify procfs code (diff) | |
| download | linux-dev-b8b1483d79550343a687cd4a2c7ff9c82889586f.tar.xz linux-dev-b8b1483d79550343a687cd4a2c7ff9c82889586f.zip | |
sg: simplify procfs code
Use remove_proc_subtree to remove the whole subtree on cleanup, and
unwind the registration loop into individual calls. Switch to use
proc_create_seq where applicable.
Also don't bother handling proc_create* failures - the driver works
perfectly fine without the proc files, and the cleanup will handle
missing files gracefully.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
