public inbox for linux-ide@vger.kernel.org
 help / color / mirror / Atom feed
From: Sergey Shtylyov <s.shtylyov@omp.ru>
To: Damien Le Moal <damien.lemoal@opensource.wdc.com>,
	<linux-ide@vger.kernel.org>
Subject: Re: [PATCH] ata: libata-core: get rid of *else* branches in ata_id_n_sectors()
Date: Fri, 10 Jun 2022 20:51:02 +0300	[thread overview]
Message-ID: <611cbaec-33c1-5390-3d64-1614fb3715cf@omp.ru> (raw)
In-Reply-To: <9490e8b7-e601-ecaf-dc94-d0f5fb63aa5f@omp.ru>

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@omp.ru>

Suggested-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>

MBR, Sergey

  reply	other threads:[~2022-06-10 17:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-09 21:06 [PATCH] ata: libata-core: get rid of *else* branches in ata_id_n_sectors() Sergey Shtylyov
2022-06-10 17:51 ` Sergey Shtylyov [this message]
2022-06-14  9:04 ` Damien Le Moal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=611cbaec-33c1-5390-3d64-1614fb3715cf@omp.ru \
    --to=s.shtylyov@omp.ru \
    --cc=damien.lemoal@opensource.wdc.com \
    --cc=linux-ide@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox