bus/fslmc: remove dead code
authorShreyansh Jain <shreyansh.jain@nxp.com>
Wed, 9 May 2018 15:27:52 +0000 (20:57 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 13 May 2018 23:01:04 +0000 (01:01 +0200)
Coverity issue: 268338
Fixes: 828d51d8fc3e ("bus/fslmc: refactor scan and probe functions")
Cc: stable@dpdk.org
Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/bus/fslmc/fslmc_vfio.c

index 26167f1..4c2cd2a 100644 (file)
@@ -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: