diff options
author | Jan Höppner <hoeppner@linux.ibm.com> | 2020-10-08 16:13:31 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-11-16 18:14:38 +0300 |
commit | d2a527580c0a0c83f1d98eff32804cde4280d721 (patch) | |
tree | ba248255b98eca15183267c2c1b2ee0a3354f395 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e03c5941f904afcc0237295e84e756c36619e058 (diff) | |
download | linux-d2a527580c0a0c83f1d98eff32804cde4280d721.tar.xz |
s390/dasd: Move duplicate code to separate function
For storing retrieved path information both the if and else block in
dasd_eckd_read_conf() use the same code. To avoid duplicate code this
should be done after the if/else block. To further increase readability,
move the code to a new function, dasd_eckd_store_conf_data().
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
Signed-off-by: Stefan Haberland <sth@linux.ibm.com>
Reviewed-by: Stefan Haberland <sth@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions