From: Shreyansh Jain Date: Wed, 9 May 2018 15:27:52 +0000 (+0530) Subject: bus/fslmc: remove dead code X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=7c5efbb12661408966332cb77da2ae8677d115d8;p=dpdk.git 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 --- 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: