From 7c5efbb12661408966332cb77da2ae8677d115d8 Mon Sep 17 00:00:00 2001 From: Shreyansh Jain Date: Wed, 9 May 2018 20:57:52 +0530 Subject: [PATCH] bus/fslmc: remove dead code Coverity issue: 268338 Fixes: 828d51d8fc3e ("bus/fslmc: refactor scan and probe functions") Cc: stable@dpdk.org Signed-off-by: Shreyansh Jain Acked-by: Hemant Agrawal --- drivers/bus/fslmc/fslmc_vfio.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/bus/fslmc/fslmc_vfio.c b/drivers/bus/fslmc/fslmc_vfio.c index 26167f15c5..4c2cd2a876 100644 --- a/drivers/bus/fslmc/fslmc_vfio.c +++ b/drivers/bus/fslmc/fslmc_vfio.c @@ -665,9 +665,6 @@ fslmc_vfio_process_group(void) } TAILQ_FOREACH_SAFE(dev, &rte_fslmc_bus.device_list, next, dev_temp) { - if (!dev) - break; - switch (dev->dev_type) { case DPAA2_ETH: case DPAA2_CRYPTO: -- 2.20.1