linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Jason Yan <yanaijie@huawei.com>,
	artur.paszkiewicz@intel.com, intel-linux-scu@intel.com,
	linux-scsi@vger.kernel.org, jejb@linux.ibm.com,
	linux-kernel@vger.kernel.org
Cc: "Martin K . Petersen" <martin.petersen@oracle.com>,
	Hulk Robot <hulkci@huawei.com>
Subject: Re: [PATCH] scsi: isci: remove set but not used 'index'
Date: Tue,  8 Sep 2020 22:09:22 -0400	[thread overview]
Message-ID: <159961731706.5787.5995426868864919327.b4-ty@oracle.com> (raw)
In-Reply-To: <20200827125851.428071-1-yanaijie@huawei.com>

On Thu, 27 Aug 2020 20:58:51 +0800, Jason Yan wrote:

> This addresses the following gcc warning with "make W=1":
> 
> drivers/scsi/isci/host.c: In function ‘sci_controller_complete_io’:
> drivers/scsi/isci/host.c:2674:6: warning: variable ‘index’ set but not
> used [-Wunused-but-set-variable]
>  2674 |  u16 index;
>       |      ^~~~~

Applied to 5.10/scsi-queue, thanks!

[1/1] scsi: isci: Remove set but not used 'index'
      https://git.kernel.org/mkp/scsi/c/7149e0cb31c5

-- 
Martin K. Petersen	Oracle Linux Engineering

      reply	other threads:[~2020-09-09  2:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-27 12:58 [PATCH] scsi: isci: remove set but not used 'index' Jason Yan
2020-09-09  2:09 ` Martin K. Petersen [this message]

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=159961731706.5787.5995426868864919327.b4-ty@oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=artur.paszkiewicz@intel.com \
    --cc=hulkci@huawei.com \
    --cc=intel-linux-scu@intel.com \
    --cc=jejb@linux.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=yanaijie@huawei.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;
as well as URLs for NNTP newsgroup(s).