Displaying 2 results from an estimated 2 matches for "ceb4395".
Did you mean:
cab4395
2017 Mar 07
1
[PATCH] virtio: remove redundant check on error return err
...yScan, CID#1415271 ("Logically Dead Code")
Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
drivers/virtio/virtio_pci_common.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/virtio/virtio_pci_common.c b/drivers/virtio/virtio_pci_common.c
index df548a6..ceb4395 100644
--- a/drivers/virtio/virtio_pci_common.c
+++ b/drivers/virtio/virtio_pci_common.c
@@ -173,8 +173,6 @@ static int vp_find_vqs_msix(struct virtio_device *vdev, unsigned nvqs,
if (err < 0)
return err;
}
- if (err < 0)
- return err;
vp_dev->msix_vectors = nvectors;
vp_de...
2017 Mar 07
1
[PATCH] virtio: remove redundant check on error return err
...yScan, CID#1415271 ("Logically Dead Code")
Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
drivers/virtio/virtio_pci_common.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/virtio/virtio_pci_common.c b/drivers/virtio/virtio_pci_common.c
index df548a6..ceb4395 100644
--- a/drivers/virtio/virtio_pci_common.c
+++ b/drivers/virtio/virtio_pci_common.c
@@ -173,8 +173,6 @@ static int vp_find_vqs_msix(struct virtio_device *vdev, unsigned nvqs,
if (err < 0)
return err;
}
- if (err < 0)
- return err;
vp_dev->msix_vectors = nvectors;
vp_de...