diff mbox

platform/KS2: make KS2 comply with the API

Message ID 1404828450-27678-1-git-send-email-anders.roxell@linaro.org
State New
Headers show

Commit Message

Anders Roxell July 8, 2014, 2:07 p.m. UTC
Commit: a73bd98afa1cc - Packet segment API started, removed
function odp_buffer_is_scatter remove from KS2 API as well.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 platform/linux-keystone2/include/api/odp_buffer.h | 9 ---------
 platform/linux-keystone2/odp_buffer.c             | 6 ------
 2 files changed, 15 deletions(-)

Comments

Anders Roxell July 8, 2014, 5:23 p.m. UTC | #1
On 2014-07-08 16:07, Anders Roxell wrote:
> Commit: a73bd98afa1cc - Packet segment API started, removed
> function odp_buffer_is_scatter remove from KS2 API as well.
> 
> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
> ---

I'm sorry for the noise, don't apply this patch...

Cheers,
Anders

>  platform/linux-keystone2/include/api/odp_buffer.h | 9 ---------
>  platform/linux-keystone2/odp_buffer.c             | 6 ------
>  2 files changed, 15 deletions(-)
> 
> diff --git a/platform/linux-keystone2/include/api/odp_buffer.h b/platform/linux-keystone2/include/api/odp_buffer.h
> index 487791d..9e1ae3c 100644
> --- a/platform/linux-keystone2/include/api/odp_buffer.h
> +++ b/platform/linux-keystone2/include/api/odp_buffer.h
> @@ -63,15 +63,6 @@ int odp_buffer_type(odp_buffer_t buf);
>  #define ODP_BUFFER_TYPE_TIMEOUT   3  /**< Timeout buffer */
>  
>  /**
> - * Tests if buffer is part of a scatter/gather list
> - *
> - * @param buf      Buffer handle
> - *
> - * @return 1 if belongs to a scatter list, otherwise 0
> - */
> -int odp_buffer_is_scatter(odp_buffer_t buf);
> -
> -/**
>   * Tests if buffer is valid
>   *
>   * @param buf      Buffer handle
> diff --git a/platform/linux-keystone2/odp_buffer.c b/platform/linux-keystone2/odp_buffer.c
> index d4c7cfe..df88f69 100644
> --- a/platform/linux-keystone2/odp_buffer.c
> +++ b/platform/linux-keystone2/odp_buffer.c
> @@ -24,12 +24,6 @@ int odp_buffer_type(odp_buffer_t buf)
>  	return odp_buf_to_hdr(buf)->type;
>  }
>  
> -int odp_buffer_is_scatter(odp_buffer_t buf)
> -{
> -	return (odp_buf_to_hdr(buf)->desc.nextBDPtr) ? 1 : 0;
> -}
> -
> -
>  int odp_buffer_is_valid(odp_buffer_t buf)
>  {
>  	return (buf != ODP_BUFFER_INVALID);
> -- 
> 1.9.1
>
diff mbox

Patch

diff --git a/platform/linux-keystone2/include/api/odp_buffer.h b/platform/linux-keystone2/include/api/odp_buffer.h
index 487791d..9e1ae3c 100644
--- a/platform/linux-keystone2/include/api/odp_buffer.h
+++ b/platform/linux-keystone2/include/api/odp_buffer.h
@@ -63,15 +63,6 @@  int odp_buffer_type(odp_buffer_t buf);
 #define ODP_BUFFER_TYPE_TIMEOUT   3  /**< Timeout buffer */
 
 /**
- * Tests if buffer is part of a scatter/gather list
- *
- * @param buf      Buffer handle
- *
- * @return 1 if belongs to a scatter list, otherwise 0
- */
-int odp_buffer_is_scatter(odp_buffer_t buf);
-
-/**
  * Tests if buffer is valid
  *
  * @param buf      Buffer handle
diff --git a/platform/linux-keystone2/odp_buffer.c b/platform/linux-keystone2/odp_buffer.c
index d4c7cfe..df88f69 100644
--- a/platform/linux-keystone2/odp_buffer.c
+++ b/platform/linux-keystone2/odp_buffer.c
@@ -24,12 +24,6 @@  int odp_buffer_type(odp_buffer_t buf)
 	return odp_buf_to_hdr(buf)->type;
 }
 
-int odp_buffer_is_scatter(odp_buffer_t buf)
-{
-	return (odp_buf_to_hdr(buf)->desc.nextBDPtr) ? 1 : 0;
-}
-
-
 int odp_buffer_is_valid(odp_buffer_t buf)
 {
 	return (buf != ODP_BUFFER_INVALID);