diff options
author | 2022-02-17 18:38:29 +0300 | |
---|---|---|
committer | 2022-02-20 09:06:05 +0900 | |
commit | ffa92a7457555df6871cfb15c2fb3afcb02c4d2b (patch) | |
tree | 73ad158537e33cfa7d9707983b95a2990cf7be3b /mm/util.c | |
parent | ata: add/use ata_taskfile::{error|status} fields (diff) | |
download | wireguard-linux-ffa92a7457555df6871cfb15c2fb3afcb02c4d2b.tar.xz wireguard-linux-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 'mm/util.c')
0 files changed, 0 insertions, 0 deletions