[RFC,v2,07/10] event/dpaa2: remove single event enqueue and dequeue
Checks
Commit Message
Signed-off-by: Mattias Rönnblom <mattias.ronnblom@ericsson.com>
--
RFC v2:
* Remove unused functions.
---
drivers/event/dpaa2/dpaa2_eventdev.c | 15 ---------------
1 file changed, 15 deletions(-)
@@ -202,12 +202,6 @@ dpaa2_eventdev_enqueue_burst(void *port, const struct rte_event ev[],
}
-static uint16_t
-dpaa2_eventdev_enqueue(void *port, const struct rte_event *ev)
-{
- return dpaa2_eventdev_enqueue_burst(port, ev, 1);
-}
-
static void dpaa2_eventdev_dequeue_wait(uint64_t timeout_ticks)
{
struct epoll_event epoll_ev;
@@ -363,13 +357,6 @@ dpaa2_eventdev_dequeue_burst(void *port, struct rte_event ev[],
return 0;
}
-static uint16_t
-dpaa2_eventdev_dequeue(void *port, struct rte_event *ev,
- uint64_t timeout_ticks)
-{
- return dpaa2_eventdev_dequeue_burst(port, ev, 1, timeout_ticks);
-}
-
static void
dpaa2_eventdev_info_get(struct rte_eventdev *dev,
struct rte_event_dev_info *dev_info)
@@ -1105,11 +1092,9 @@ dpaa2_eventdev_create(const char *name, struct rte_vdev_device *vdev)
}
eventdev->dev_ops = &dpaa2_eventdev_ops;
- eventdev->enqueue = dpaa2_eventdev_enqueue;
eventdev->enqueue_burst = dpaa2_eventdev_enqueue_burst;
eventdev->enqueue_new_burst = dpaa2_eventdev_enqueue_burst;
eventdev->enqueue_forward_burst = dpaa2_eventdev_enqueue_burst;
- eventdev->dequeue = dpaa2_eventdev_dequeue;
eventdev->dequeue_burst = dpaa2_eventdev_dequeue_burst;
eventdev->txa_enqueue = dpaa2_eventdev_txa_enqueue;
eventdev->txa_enqueue_same_dest = dpaa2_eventdev_txa_enqueue_same_dest;