mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bart Van Assche <bvanassche@acm.org>
To: mrigendrachaubey <mrigendra.chaubey@gmail.com>,
	James.Bottomley@HansenPartnership.com,
	martin.petersen@oracle.com
Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] scsi: scsi_devinfo: remove redundant 'found'
Date: Mon, 9 Jun 2025 16:56:16 -0700	[thread overview]
Message-ID: <7cfda015-75df-4ac9-897a-41cfc6338046@acm.org> (raw)
In-Reply-To: <20250531054638.46256-1-mrigendra.chaubey@gmail.com>

On 5/30/25 10:46 PM, mrigendrachaubey wrote:
> +	list_for_each_entry(devinfo_table, &scsi_dev_info_list, node) {
> +		if (devinfo_table->key == key)
> +			return devinfo_table;
> +	}

The braces around the loop body are not necessary. Please remove these.

Thanks,

Bart.

  reply	other threads:[~2025-06-09 23:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-31  5:46 mrigendrachaubey
2025-06-09 23:56 ` Bart Van Assche [this message]
2025-06-22  7:05 ` [PATCH v2] " mrigendrachaubey

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=7cfda015-75df-4ac9-897a-41cfc6338046@acm.org \
    --to=bvanassche@acm.org \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=mrigendra.chaubey@gmail.com \
    /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

all inboxes | Powered by JetHome®