diff mbox

[API-NEXT] linux-generic: buffer: remove unused _odp_buffer_type_set() function

Message ID 1436538095-15120-1-git-send-email-bill.fischofer@linaro.org
State Superseded
Headers show

Commit Message

Bill Fischofer July 10, 2015, 2:21 p.m. UTC
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
---
 platform/linux-generic/include/odp_buffer_internal.h | 9 ---------
 platform/linux-generic/odp_buffer.c                  | 8 --------
 2 files changed, 17 deletions(-)

Comments

Mike Holmes July 10, 2015, 6:18 p.m. UTC | #1
On 10 July 2015 at 10:21, Bill Fischofer <bill.fischofer@linaro.org> wrote:

> Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
>

Reviewed-by: Mike Holmes <mike.holmes@linaro.org>


> ---
>  platform/linux-generic/include/odp_buffer_internal.h | 9 ---------
>  platform/linux-generic/odp_buffer.c                  | 8 --------
>  2 files changed, 17 deletions(-)
>
> diff --git a/platform/linux-generic/include/odp_buffer_internal.h
> b/platform/linux-generic/include/odp_buffer_internal.h
> index d9ffc06..ae799dd 100644
> --- a/platform/linux-generic/include/odp_buffer_internal.h
> +++ b/platform/linux-generic/include/odp_buffer_internal.h
> @@ -168,15 +168,6 @@ odp_buffer_t buffer_alloc(odp_pool_t pool, size_t
> size);
>   */
>  int _odp_buffer_type(odp_buffer_t buf);
>
> -/*
> - * Buffer type set
> - *
> - * @param buf      Buffer handle
> - * @param type     New type value
> - *
> - */
> -       void _odp_buffer_type_set(odp_buffer_t buf, int type);
> -
>  #ifdef __cplusplus
>  }
>  #endif
> diff --git a/platform/linux-generic/odp_buffer.c
> b/platform/linux-generic/odp_buffer.c
> index 0803805..d5d42a6 100644
> --- a/platform/linux-generic/odp_buffer.c
> +++ b/platform/linux-generic/odp_buffer.c
> @@ -47,14 +47,6 @@ int _odp_buffer_type(odp_buffer_t buf)
>         return hdr->type;
>  }
>
> -void _odp_buffer_type_set(odp_buffer_t buf, int type)
> -{
> -       odp_buffer_hdr_t *hdr = odp_buf_to_hdr(buf);
> -
> -       hdr->type = type;
> -}
> -
> -
>  int odp_buffer_is_valid(odp_buffer_t buf)
>  {
>         return validate_buf(buf) != NULL;
> --
> 2.1.4
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> https://lists.linaro.org/mailman/listinfo/lng-odp
>
Maxim Uvarov July 13, 2015, 10:54 a.m. UTC | #2
Merged to api-next.

Thanks,
Maxim.

On 07/10/15 21:18, Mike Holmes wrote:
>
>
> On 10 July 2015 at 10:21, Bill Fischofer <bill.fischofer@linaro.org 
> <mailto:bill.fischofer@linaro.org>> wrote:
>
>     Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org
>     <mailto:bill.fischofer@linaro.org>>
>
>
> Reviewed-by: Mike Holmes <mike.holmes@linaro.org 
> <mailto:mike.holmes@linaro.org>>
>
>     ---
>      platform/linux-generic/include/odp_buffer_internal.h | 9 ---------
>      platform/linux-generic/odp_buffer.c                  | 8 --------
>      2 files changed, 17 deletions(-)
>
>     diff --git a/platform/linux-generic/include/odp_buffer_internal.h
>     b/platform/linux-generic/include/odp_buffer_internal.h
>     index d9ffc06..ae799dd 100644
>     --- a/platform/linux-generic/include/odp_buffer_internal.h
>     +++ b/platform/linux-generic/include/odp_buffer_internal.h
>     @@ -168,15 +168,6 @@ odp_buffer_t buffer_alloc(odp_pool_t pool,
>     size_t size);
>       */
>      int _odp_buffer_type(odp_buffer_t buf);
>
>     -/*
>     - * Buffer type set
>     - *
>     - * @param buf      Buffer handle
>     - * @param type     New type value
>     - *
>     - */
>     -       void _odp_buffer_type_set(odp_buffer_t buf, int type);
>     -
>      #ifdef __cplusplus
>      }
>      #endif
>     diff --git a/platform/linux-generic/odp_buffer.c
>     b/platform/linux-generic/odp_buffer.c
>     index 0803805..d5d42a6 100644
>     --- a/platform/linux-generic/odp_buffer.c
>     +++ b/platform/linux-generic/odp_buffer.c
>     @@ -47,14 +47,6 @@ int _odp_buffer_type(odp_buffer_t buf)
>             return hdr->type;
>      }
>
>     -void _odp_buffer_type_set(odp_buffer_t buf, int type)
>     -{
>     -       odp_buffer_hdr_t *hdr = odp_buf_to_hdr(buf);
>     -
>     -       hdr->type = type;
>     -}
>     -
>     -
>      int odp_buffer_is_valid(odp_buffer_t buf)
>      {
>             return validate_buf(buf) != NULL;
>     --
>     2.1.4
>
>     _______________________________________________
>     lng-odp mailing list
>     lng-odp@lists.linaro.org <mailto:lng-odp@lists.linaro.org>
>     https://lists.linaro.org/mailman/listinfo/lng-odp
>
>
>
>
> -- 
> Mike Holmes
> Technical Manager - Linaro Networking Group
> Linaro.org <http://www.linaro.org/>***│ *Open source software for ARM SoCs
>
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> https://lists.linaro.org/mailman/listinfo/lng-odp
diff mbox

Patch

diff --git a/platform/linux-generic/include/odp_buffer_internal.h b/platform/linux-generic/include/odp_buffer_internal.h
index d9ffc06..ae799dd 100644
--- a/platform/linux-generic/include/odp_buffer_internal.h
+++ b/platform/linux-generic/include/odp_buffer_internal.h
@@ -168,15 +168,6 @@  odp_buffer_t buffer_alloc(odp_pool_t pool, size_t size);
  */
 int _odp_buffer_type(odp_buffer_t buf);
 
-/*
- * Buffer type set
- *
- * @param buf      Buffer handle
- * @param type     New type value
- *
- */
-	void _odp_buffer_type_set(odp_buffer_t buf, int type);
-
 #ifdef __cplusplus
 }
 #endif
diff --git a/platform/linux-generic/odp_buffer.c b/platform/linux-generic/odp_buffer.c
index 0803805..d5d42a6 100644
--- a/platform/linux-generic/odp_buffer.c
+++ b/platform/linux-generic/odp_buffer.c
@@ -47,14 +47,6 @@  int _odp_buffer_type(odp_buffer_t buf)
 	return hdr->type;
 }
 
-void _odp_buffer_type_set(odp_buffer_t buf, int type)
-{
-	odp_buffer_hdr_t *hdr = odp_buf_to_hdr(buf);
-
-	hdr->type = type;
-}
-
-
 int odp_buffer_is_valid(odp_buffer_t buf)
 {
 	return validate_buf(buf) != NULL;