aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/ixge/ixge.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-10-26 10:29:35 +0200
committerDamjan Marion <dmarion@me.com>2018-10-28 14:58:45 +0000
commit878b65aa6c16b6013e75ea9039b9978c52982e97 (patch)
tree3b0d1412d6e83996741f39cf50bee6699fbbdcff /src/plugins/ixge/ixge.c
parent5665cedf57165c05d00f28de06b627047902ffce (diff)
physmem: coverity issues
Change-Id: I34cc55d8292a69fb451ed0031484994f51d3537a Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/ixge/ixge.c')
-rw-r--r--src/plugins/ixge/ixge.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/ixge/ixge.c b/src/plugins/ixge/ixge.c
index 5dc22bed3a5..a3c0c978ab3 100644
--- a/src/plugins/ixge/ixge.c
+++ b/src/plugins/ixge/ixge.c
@@ -2843,9 +2843,6 @@ ixge_pci_init (vlib_main_t * vm, vlib_pci_dev_handle_t h)
vlib_pci_addr_t *addr = vlib_pci_get_addr (vm, h);
vlib_pci_device_info_t *d = vlib_pci_get_device_info (vm, addr, 0);
- if (error)
- return error;
-
error = vlib_pci_map_region (vm, h, 0, &r);
if (error)
return error;