linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: mst@redhat.com, pbonzini@redhat.com, jasowang@redhat.com,
	Xianting Tian <xianting_tian@126.com>,
	jejb@linux.ibm.com, stefanha@redhat.com
Cc: "Martin K . Petersen" <martin.petersen@oracle.com>,
	virtualization@lists.linux-foundation.org,
	linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: Re: [PATCH] scsi: virtio_scsi: remove unnecessary condition check
Date: Tue, 14 Jul 2020 00:58:47 -0400	[thread overview]
Message-ID: <159470266467.11195.10910825066875185491.b4-ty@oracle.com> (raw)
In-Reply-To: <1594307167-8807-1-git-send-email-xianting_tian@126.com>

On Thu, 9 Jul 2020 11:06:07 -0400, Xianting Tian wrote:

> kmem_cache_destroy and mempool_destroy can correctly handle
> null pointer parameter, so there is no need to check if the
> parameter is null before calling kmem_cache_destroy and
> mempool_destroy.

Applied to 5.9/scsi-queue, thanks!

[1/1] scsi: virtio_scsi: Remove unnecessary condition check
      https://git.kernel.org/mkp/scsi/c/92e8d0323a51

-- 
Martin K. Petersen	Oracle Linux Engineering

  parent reply	other threads:[~2020-07-14  4:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-09 15:06 [PATCH] scsi: virtio_scsi: remove unnecessary condition check Xianting Tian
2020-07-09 15:25 ` Paolo Bonzini
2020-07-14  4:58 ` Martin K. Petersen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-07-09 14:46 Xianting Tian
2020-07-09 15:26 ` Paolo Bonzini

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=159470266467.11195.10910825066875185491.b4-ty@oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=jasowang@redhat.com \
    --cc=jejb@linux.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=stefanha@redhat.com \
    --cc=virtualization@lists.linux-foundation.org \
    --cc=xianting_tian@126.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).