diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2020-03-30 18:50:40 -0500 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-04-16 18:31:02 -0400 |
commit | aa21c2e73eaed43a9c8389cd9784e337ae6f3989 (patch) | |
tree | 606aea9da74e8a3a1663cdddee9875b9a204a411 /drivers/xen/manage.c | |
parent | 355b36e6bfd35bd4f4f28f182bb2f8bc07295c88 (diff) | |
download | linux-aa21c2e73eaed43a9c8389cd9784e337ae6f3989.tar.bz2 |
vhost: vdpa: remove unnecessary null check
container_of is never null, so this null check is
unnecessary.
Addresses-Coverity-ID: 1492006 ("Logically dead code")
Fixes: 20453a45fb06 ("vhost: introduce vDPA-based backend")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Link: https://lore.kernel.org/r/20200330235040.GA9997@embeddedor
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'drivers/xen/manage.c')
0 files changed, 0 insertions, 0 deletions