linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: linux-kernel@vger.kernel.org, sebaddel@cisco.com,
	jejb@linux.ibm.com, linux-scsi@vger.kernel.org,
	kartilak@cisco.com, Jason Yan <yanaijie@huawei.com>
Cc: "Martin K . Petersen" <martin.petersen@oracle.com>,
	Hulk Robot <hulkci@huawei.com>
Subject: Re: [PATCH] scsi: snic: make snic_io_exch_ver_cmpl_handler() void
Date: Mon, 27 Apr 2020 16:21:22 -0400	[thread overview]
Message-ID: <158777063304.4076.1514687099923506496.b4-ty@oracle.com> (raw)
In-Reply-To: <20200418070615.11603-1-yanaijie@huawei.com>

On Sat, 18 Apr 2020 15:06:15 +0800, Jason Yan wrote:

> This function do not need a return value and no users use it's return
> value. So we can make it void.
> 
> This also fixes the coccicheck warning:
> 
> drivers/scsi/snic/snic_ctl.c:163:5-8: Unneeded variable: "ret". Return
> "0" on line 228
> 
> [...]

Applied to 5.8/scsi-queue, thanks!

[1/1] scsi: snic: Make snic_io_exch_ver_cmpl_handler() return void
      https://git.kernel.org/mkp/scsi/c/6942d531e2d2

-- 
Martin K. Petersen	Oracle Linux Engineering

      reply	other threads:[~2020-04-27 20:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-18  7:06 [PATCH] scsi: snic: make snic_io_exch_ver_cmpl_handler() void Jason Yan
2020-04-27 20:21 ` 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=158777063304.4076.1514687099923506496.b4-ty@oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=hulkci@huawei.com \
    --cc=jejb@linux.ibm.com \
    --cc=kartilak@cisco.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=sebaddel@cisco.com \
    --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).