diff mbox

linux-generic: pools: delete extraneous code

Message ID 1424465973-3506-1-git-send-email-bill.fischofer@linaro.org
State Accepted
Commit bd2cf7c202c61a1b0d4d2deefc100f77c041292a
Headers show

Commit Message

Bill Fischofer Feb. 20, 2015, 8:59 p.m. UTC
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
---
 platform/linux-generic/odp_pool.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Maxim Uvarov Feb. 26, 2015, 9:05 p.m. UTC | #1
Merged,
Maxim.

On 02/20/2015 11:59 PM, Bill Fischofer wrote:
> Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
> ---
>   platform/linux-generic/odp_pool.c | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/platform/linux-generic/odp_pool.c b/platform/linux-generic/odp_pool.c
> index 422ff2b..1705d0f 100644
> --- a/platform/linux-generic/odp_pool.c
> +++ b/platform/linux-generic/odp_pool.c
> @@ -361,7 +361,6 @@ odp_pool_t odp_pool_create(const char *name,
>   			do {
>   				ret_blk(&pool->s, blk);
>   				blk -= pool->s.seg_size;
> -				i++;
>   			} while (blk >= block_base_addr);
>   
>   		/* Initialize pool statistics counters */
diff mbox

Patch

diff --git a/platform/linux-generic/odp_pool.c b/platform/linux-generic/odp_pool.c
index 422ff2b..1705d0f 100644
--- a/platform/linux-generic/odp_pool.c
+++ b/platform/linux-generic/odp_pool.c
@@ -361,7 +361,6 @@  odp_pool_t odp_pool_create(const char *name,
 			do {
 				ret_blk(&pool->s, blk);
 				blk -= pool->s.seg_size;
-				i++;
 			} while (blk >= block_base_addr);
 
 		/* Initialize pool statistics counters */