rawdev: remove dead code
Coverity issue: 260406
Fixes: c88b3f2558
("rawdev: introduce raw device library")
Cc: stable@dpdk.org
Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
This commit is contained in:
parent
564ad58d2d
commit
7d3c4fb6de
@ -88,9 +88,6 @@ rte_rawdev_info_get(uint16_t dev_id, struct rte_rawdev_info *dev_info)
|
||||
RTE_RAWDEV_VALID_DEVID_OR_ERR_RET(dev_id, -EINVAL);
|
||||
RTE_FUNC_PTR_OR_ERR_RET(dev_info, -EINVAL);
|
||||
|
||||
if (dev_info == NULL)
|
||||
return -EINVAL;
|
||||
|
||||
rawdev = &rte_rawdevs[dev_id];
|
||||
|
||||
RTE_FUNC_PTR_OR_ERR_RET(*rawdev->dev_ops->dev_info_get, -ENOTSUP);
|
||||
|
Loading…
Reference in New Issue
Block a user