diff mbox

[API-NEXT,PATCHv2,2/4] linux-generic: queue: implement odp_queue_param_init routine

Message ID 1436551413-2609-2-git-send-email-bill.fischofer@linaro.org
State Accepted
Commit 4385466dc574f2790f3ed2a162e562ccb7853d92
Headers show

Commit Message

Bill Fischofer July 10, 2015, 6:03 p.m. UTC
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
---
 platform/linux-generic/odp_queue.c | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox

Patch

diff --git a/platform/linux-generic/odp_queue.c b/platform/linux-generic/odp_queue.c
index 2546e2b..aa8b99f 100644
--- a/platform/linux-generic/odp_queue.c
+++ b/platform/linux-generic/odp_queue.c
@@ -548,3 +548,8 @@  void queue_unlock(queue_entry_t *queue)
 {
 	UNLOCK(&queue->s.lock);
 }
+
+void odp_queue_param_init(odp_queue_param_t *params)
+{
+	memset(params, 0, sizeof(odp_queue_param_t));
+}