diff options
| author | 2022-02-17 18:38:29 +0300 | |
|---|---|---|
| committer | 2022-02-20 09:06:05 +0900 | |
| commit | ffa92a7457555df6871cfb15c2fb3afcb02c4d2b (patch) | |
| tree | 73ad158537e33cfa7d9707983b95a2990cf7be3b /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | ata: add/use ata_taskfile::{error|status} fields (diff) | |
| download | linux-dev-ffa92a7457555df6871cfb15c2fb3afcb02c4d2b.tar.xz linux-dev-ffa92a7457555df6871cfb15c2fb3afcb02c4d2b.zip | |
ata: libata-sff: use *switch* statement in ata_sff_dev_classify()
In ata_sff_dev_classify(), replace a string of the *if* statements checking
the device's class with the *switch* statement that fits better here...
While at it, fix the multi-line comment style in the vicinity...
Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
