diff options
author | Sergey Shtylyov <[email protected]> | 2022-02-09 23:25:34 +0300 |
---|---|---|
committer | Damien Le Moal <[email protected]> | 2022-02-19 11:18:42 +0900 |
commit | 183a4bfbd7c86fcb194dc45fdec6e5759c6283a8 (patch) | |
tree | f44a103c69761ec519bd21ee8a28e1dd1051392b /lib/test_overflow.c | |
parent | 5dfb84982ed2e3a77d42f912625c275bc0e82f91 (diff) |
ata: pata_artop: use *switch* in artop_init_one()
This driver uses a string of the *if* statements in artop_init_one()
where the *switch* statement would fit better. While fixing this,
refactor the 6280 code to e.g. avoid a compound statement inside
the *case* section...
Signed-off-by: Sergey Shtylyov <[email protected]>
Signed-off-by: Damien Le Moal <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions