summaryrefslogtreecommitdiff
path: root/drivers/bus/fslmc
diff options
context:
space:
mode:
authorShreyansh Jain <shreyansh.jain@nxp.com>2018-05-09 20:57:52 +0530
committerThomas Monjalon <thomas@monjalon.net>2018-05-14 01:01:04 +0200
commit7c5efbb12661408966332cb77da2ae8677d115d8 (patch)
tree82e9271f2d6972b1559ffac38b1bcffb5756479f /drivers/bus/fslmc
parent58b7c9ceed1efced68d4fc7106915fab3b467e47 (diff)
downloaddpdk-7c5efbb12661408966332cb77da2ae8677d115d8.zip
dpdk-7c5efbb12661408966332cb77da2ae8677d115d8.tar.gz
dpdk-7c5efbb12661408966332cb77da2ae8677d115d8.tar.xz
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 <shreyansh.jain@nxp.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Diffstat (limited to 'drivers/bus/fslmc')
-rw-r--r--drivers/bus/fslmc/fslmc_vfio.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/bus/fslmc/fslmc_vfio.c b/drivers/bus/fslmc/fslmc_vfio.c
index 26167f1..4c2cd2a 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: