Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
vlib: print logs to stderr if interactive or nosyslog set
[vpp.git]
/
src
/
plugins
/
dpdk
/
cryptodev
/
cryptodev_dp_api.c
diff --git
a/src/plugins/dpdk/cryptodev/cryptodev_dp_api.c
b/src/plugins/dpdk/cryptodev/cryptodev_dp_api.c
index
8fcfa2e
..
682295b
100644
(file)
--- a/
src/plugins/dpdk/cryptodev/cryptodev_dp_api.c
+++ b/
src/plugins/dpdk/cryptodev/cryptodev_dp_api.c
@@
-1348,10
+1348,7
@@
cryptodev_get_session_sz (vlib_main_t *vm, u32 n_workers)
u32 sess_data_sz = 0, i;
if (rte_cryptodev_count () == 0)
- {
- clib_warning ("Failed");
- return -1;
- }
+ return -1;
for (i = 0; i < rte_cryptodev_count (); i++)
{