diff options
| author | Julian Wiedmann <jwi@linux.ibm.com> | 2021-01-28 14:25:47 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2021-01-29 07:35:57 +0300 |
| commit | ea12f1b3c8289102620d3030de3547eedce6d9e8 (patch) | |
| tree | b1240f4da6652535ac5906edfecdfba23ffd1f65 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 699e4bc8c363f06c8f2e138aeec15d6105edd1a5 (diff) | |
| download | linux-ea12f1b3c8289102620d3030de3547eedce6d9e8.tar.xz | |
s390/qeth: clean up load/remove code for disciplines
We have two usage patterns:
1. get & ->setup() a new discipline, or
2. ->remove() & put the currently loaded one.
Add corresponding helpers that hide the internals & error handling.
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Reviewed-by: Alexandra Winter <wintera@linux.ibm.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
