qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: "Zhoujian (jay)" <jianjay.zhou@huawei.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Cc: "Gonglei (Arei)" <arei.gonglei@huawei.com>
Subject: Re: [Qemu-devel] [PATCH] cryptodev: remove dead code
Date: Mon, 30 Jul 2018 13:56:29 +0200	[thread overview]
Message-ID: <a5f0e379-fd46-014c-78ed-5284973e9ac9@redhat.com> (raw)
In-Reply-To: <B2D15215269B544CADD246097EACE7473B71C04E@DGGEMM528-MBX.china.huawei.com>

On 30/07/2018 13:50, Zhoujian (jay) wrote:
> Hi Paolo,
> 
> I've posted a patch before, pls see
> https://lists.gnu.org/archive/html/qemu-devel/2018-04/msg05215.html
> 
> which reviewed by Stefan
> https://lists.gnu.org/archive/html/qemu-devel/2018-05/msg01549.html
> 
> It seems that it hasn't been merged. Could you pick it up pls?

Yes, I will.

Paolo

> Regards,
> Jay
> 
>> -----Original Message-----
>> From: Qemu-devel [mailto:qemu-devel-
>> bounces+jianjay.zhou=huawei.com@nongnu.org] On Behalf Of Paolo Bonzini
>> Sent: Monday, July 30, 2018 4:51 PM
>> To: qemu-devel@nongnu.org
>> Subject: [Qemu-devel] [PATCH] cryptodev: remove dead code
>>
>> Reported by Coverity as CID 1390600.
>>
>> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
>> ---
>>  backends/cryptodev-vhost-user.c | 5 -----
>>  1 file changed, 5 deletions(-)
>>
>> diff --git a/backends/cryptodev-vhost-user.c b/backends/cryptodev-vhost-
>> user.c index d52daccfcd..d539f14d59 100644
>> --- a/backends/cryptodev-vhost-user.c
>> +++ b/backends/cryptodev-vhost-user.c
>> @@ -157,7 +157,6 @@ static void cryptodev_vhost_user_event(void *opaque, int
>> event)  {
>>      CryptoDevBackendVhostUser *s = opaque;
>>      CryptoDevBackend *b = CRYPTODEV_BACKEND(s);
>> -    Error *err = NULL;
>>      int queues = b->conf.peers.queues;
>>
>>      assert(queues < MAX_CRYPTO_QUEUE_NUM); @@ -174,10 +173,6 @@ static void
>> cryptodev_vhost_user_event(void *opaque, int event)
>>          cryptodev_vhost_user_stop(queues, s);
>>          break;
>>      }
>> -
>> -    if (err) {
>> -        error_report_err(err);
>> -    }
>>  }
>>
>>  static void cryptodev_vhost_user_init(
>> --
>> 2.17.1
>>
> 

      reply	other threads:[~2018-07-30 11:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-30  8:51 [Qemu-devel] [PATCH] cryptodev: remove dead code Paolo Bonzini
2018-07-30  9:00 ` Gonglei (Arei)
2018-07-30 10:49 ` Peter Maydell
2018-07-30 11:31   ` Gonglei (Arei)
2018-07-30 11:50 ` Zhoujian (jay)
2018-07-30 11:56   ` Paolo Bonzini [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=a5f0e379-fd46-014c-78ed-5284973e9ac9@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=arei.gonglei@huawei.com \
    --cc=jianjay.zhou@huawei.com \
    --cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).