From: Paolo Bonzini <pbonzini@redhat.com>
To: qemu-devel@nongnu.org
Cc: Jay Zhou <jianjay.zhou@huawei.com>
Subject: [Qemu-devel] [PULL 4/4] backends/cryptodev: remove dead code
Date: Tue, 31 Jul 2018 10:02:59 +0200 [thread overview]
Message-ID: <20180731080259.15934-5-pbonzini@redhat.com> (raw)
In-Reply-To: <20180731080259.15934-1-pbonzini@redhat.com>
From: Jay Zhou <jianjay.zhou@huawei.com>
Fix Coverity issue 1390600.
Signed-off-by: Jay Zhou <jianjay.zhou@huawei.com>
Message-Id: <1524894864-7492-1-git-send-email-jianjay.zhou@huawei.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
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 d52dacc..d539f14 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(
--
1.8.3.1
next prev parent reply other threads:[~2018-07-31 8:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-31 8:02 [Qemu-devel] [PULL 0/4] Misc patches for 2018-07-30 Paolo Bonzini
2018-07-31 8:02 ` [Qemu-devel] [PULL 2/4] i386: implement MSR_SMI_COUNT for TCG Paolo Bonzini
2018-07-31 8:02 ` [Qemu-devel] [PULL 3/4] timer: remove replay clock probe in deadline calculation Paolo Bonzini
2018-07-31 8:02 ` Paolo Bonzini [this message]
2018-07-31 12:35 ` [Qemu-devel] [PULL 0/4] Misc patches for 2018-07-30 Peter Maydell
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=20180731080259.15934-5-pbonzini@redhat.com \
--to=pbonzini@redhat.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).