X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fevent%2Fopdl%2Fopdl_ring.c;h=06fb5b33760d1b5ebb435e19a73c8137f6dfa38e;hb=7b6b3886defc3549190d4fc963705b88d219820c;hp=e988f1cb243994f8f03595c61155bd3e221e24af;hpb=6723c0fc7207ca4416822b170b1485a78aa47c7c;p=dpdk.git diff --git a/drivers/event/opdl/opdl_ring.c b/drivers/event/opdl/opdl_ring.c index e988f1cb24..06fb5b3376 100644 --- a/drivers/event/opdl/opdl_ring.c +++ b/drivers/event/opdl/opdl_ring.c @@ -16,7 +16,6 @@ #include #include #include -#include #include "opdl_ring.h" #include "opdl_log.h" @@ -756,7 +755,7 @@ int opdl_stage_disclaim(struct opdl_stage *s, uint32_t num_entries, bool block) { if (num_entries != s->num_event) { - rte_errno = -EINVAL; + rte_errno = EINVAL; return 0; } if (s->threadsafe == false) {