diff options
author | Matias Elo <matias.elo@nokia.com> | 2023-03-21 16:58:22 +0200 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2023-04-13 10:44:33 +0300 |
commit | 7065560a65b9da13798011918bd2ec43a8d116f0 (patch) | |
tree | b49646b3388e945da0eb5ee6c5a65d5916ebcd59 /example | |
parent | 092a5731eb03e03e653eff036bd59d433c46e9f9 (diff) |
example: classifier: remove usage of odp_errno
Setting odp_errno has been removed from odp_pktio_open() API.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'example')
-rw-r--r-- | example/classifier/odp_classifier.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/example/classifier/odp_classifier.c b/example/classifier/odp_classifier.c index 552da53dc..5b66003fe 100644 --- a/example/classifier/odp_classifier.c +++ b/example/classifier/odp_classifier.c @@ -274,9 +274,6 @@ static odp_pktio_t create_pktio(const char *dev, odp_pool_t pool) /* Open a packet IO instance */ pktio = odp_pktio_open(dev, pool, &pktio_param); if (pktio == ODP_PKTIO_INVALID) { - if (odp_errno() == EPERM) - ODPH_ERR("Root level permission required\n"); - ODPH_ERR("pktio create failed for %s\n", dev); exit(EXIT_FAILURE); } |