diff mbox

linux-generic: remove not used queue_handle function

Message ID 1464286931-1945-1-git-send-email-maxim.uvarov@linaro.org
State Accepted
Commit b62ac7996d9265f3a2a19041b20213f08fa0b3cb
Headers show

Commit Message

Maxim Uvarov May 26, 2016, 6:22 p.m. UTC
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
---
 platform/linux-generic/odp_queue.c | 5 -----
 1 file changed, 5 deletions(-)

Comments

Maxim Uvarov May 27, 2016, 3:34 p.m. UTC | #1
Merged to make clang happy.

Maxim.

On 05/26/16 21:22, Maxim Uvarov wrote:
> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
> ---
>   platform/linux-generic/odp_queue.c | 5 -----
>   1 file changed, 5 deletions(-)
>
> diff --git a/platform/linux-generic/odp_queue.c b/platform/linux-generic/odp_queue.c
> index 50d6ccc..1a87750 100644
> --- a/platform/linux-generic/odp_queue.c
> +++ b/platform/linux-generic/odp_queue.c
> @@ -63,11 +63,6 @@ static inline int queue_is_ordered(queue_entry_t *qe)
>   	return qe->s.param.sched.sync == ODP_SCHED_SYNC_ORDERED;
>   }
>
> -static inline odp_queue_t queue_handle(queue_entry_t *qe)
> -{
> -	return qe->s.handle;
> -}
> -
>   static inline void queue_add(queue_entry_t *queue,
>   			     odp_buffer_hdr_t *buf_hdr)
>   {
diff mbox

Patch

diff --git a/platform/linux-generic/odp_queue.c b/platform/linux-generic/odp_queue.c
index 50d6ccc..1a87750 100644
--- a/platform/linux-generic/odp_queue.c
+++ b/platform/linux-generic/odp_queue.c
@@ -63,11 +63,6 @@  static inline int queue_is_ordered(queue_entry_t *qe)
 	return qe->s.param.sched.sync == ODP_SCHED_SYNC_ORDERED;
 }
 
-static inline odp_queue_t queue_handle(queue_entry_t *qe)
-{
-	return qe->s.handle;
-}
-
 static inline void queue_add(queue_entry_t *queue,
 			     odp_buffer_hdr_t *buf_hdr)
 {