ata: libata-core: get rid of *else* branches in ata_id_n_sectors()
authorSergey Shtylyov <s.shtylyov@omp.ru>
Thu, 9 Jun 2022 21:06:54 +0000 (00:06 +0300)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Tue, 14 Jun 2022 08:58:57 +0000 (17:58 +0900)
commit5eb8deb4af56b120c152066ff43a0867267b264b
treed64c47caef10c2925d2817e92bcfde55a978c028
parent79ad6a561958777d6d8ecfa66e51d09d35ec6450
ata: libata-core: get rid of *else* branches in ata_id_n_sectors()

Using *else* after *return* doesn't make much sense -- getting rid of such
*else* branches reduces the indentation levels and thus reduces # of LoC...

Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
drivers/ata/libata-core.c