Re: [PATCH] ata: libata-core: get rid of *else* branches in ata_id_n_sectors()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/10/22 12:06 AM, Sergey Shtylyov wrote:

> 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@xxxxxx>

Suggested-by: Damien Le Moal <damien.lemoal@xxxxxxxxxxxxxxxxxx>

MBR, Sergey



[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux