diff options
author | Bill Fischofer <bill.fischofer@linaro.org> | 2015-06-10 19:12:14 -0500 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2015-06-16 22:52:54 +0300 |
commit | 3d85d592b3dee612c9233f8dcb386d9d56c943bd (patch) | |
tree | 73baf9667607bc70b5e5e1e96be32d49a9e40da8 /platform/linux-generic/odp_event.c | |
parent | 36efd97cb8548fb86458f4f6726bc5644ab66c21 (diff) |
linux-generic: crypto: eliminate buffer type hack for completions
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
Reported-by: Christophe Milard <christophe.milard@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'platform/linux-generic/odp_event.c')
-rw-r--r-- | platform/linux-generic/odp_event.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/platform/linux-generic/odp_event.c b/platform/linux-generic/odp_event.c index 17f4f431f..d9e86a9bd 100644 --- a/platform/linux-generic/odp_event.c +++ b/platform/linux-generic/odp_event.c @@ -8,12 +8,9 @@ #include <odp/buffer.h> #include <odp/pool.h> #include <odp_buffer_internal.h> +#include <odp_buffer_inlines.h> int odp_event_type(odp_event_t event) { - odp_buffer_t buf; - - buf = odp_buffer_from_event(event); - - return _odp_buffer_type(buf); + return _odp_buffer_event_type(odp_buffer_from_event(event)); } |