diff mbox

linux-generic: odp_init: remove incorrect ODP_UNUSED

Message ID 1422412923-19780-1-git-send-email-mike.holmes@linaro.org
State Accepted
Commit 964ef96763520b0acfc7f47c0f0579f0451c3b04
Headers show

Commit Message

Mike Holmes Jan. 28, 2015, 2:42 a.m. UTC
The ODP_UNUSED flag is incorrectly applied to the odp params remove it

Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
---
 platform/linux-generic/odp_init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mike Holmes Feb. 23, 2015, 6:16 p.m. UTC | #1
ping

On 27 January 2015 at 21:42, Mike Holmes <mike.holmes@linaro.org> wrote:

> The ODP_UNUSED flag is incorrectly applied to the odp params remove it
>
> Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
> ---
>  platform/linux-generic/odp_init.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/platform/linux-generic/odp_init.c
> b/platform/linux-generic/odp_init.c
> index 9815ecf..c79ff76 100644
> --- a/platform/linux-generic/odp_init.c
> +++ b/platform/linux-generic/odp_init.c
> @@ -10,7 +10,7 @@
>  #include <odp_debug_internal.h>
>
>
> -int odp_init_global(odp_init_t *params  ODP_UNUSED,
> +int odp_init_global(odp_init_t *params,
>                         odp_platform_init_t *platform_params ODP_UNUSED)
>  {
>         odp_global_data.log_fn = odp_override_log;
> --
> 2.1.0
>
>
Bill Fischofer Feb. 23, 2015, 10:15 p.m. UTC | #2
On Mon, Feb 23, 2015 at 12:16 PM, Mike Holmes <mike.holmes@linaro.org>
wrote:

> ping
>
> On 27 January 2015 at 21:42, Mike Holmes <mike.holmes@linaro.org> wrote:
>
>> The ODP_UNUSED flag is incorrectly applied to the odp params remove it
>>
>> Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
>>
>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>


> ---
>
>  platform/linux-generic/odp_init.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/platform/linux-generic/odp_init.c
>> b/platform/linux-generic/odp_init.c
>> index 9815ecf..c79ff76 100644
>> --- a/platform/linux-generic/odp_init.c
>> +++ b/platform/linux-generic/odp_init.c
>> @@ -10,7 +10,7 @@
>>  #include <odp_debug_internal.h>
>>
>>
>> -int odp_init_global(odp_init_t *params  ODP_UNUSED,
>> +int odp_init_global(odp_init_t *params,
>>                         odp_platform_init_t *platform_params ODP_UNUSED)
>>  {
>>         odp_global_data.log_fn = odp_override_log;
>> --
>> 2.1.0
>>
>>
>
>
> --
> *Mike Holmes*
> Linaro  Sr Technical Manager
> LNG - ODP
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
>
Maxim Uvarov Feb. 24, 2015, 8:07 a.m. UTC | #3
Merged!

Maxim.

On 02/24/2015 01:15 AM, Bill Fischofer wrote:
>
> On Mon, Feb 23, 2015 at 12:16 PM, Mike Holmes <mike.holmes@linaro.org 
> <mailto:mike.holmes@linaro.org>> wrote:
>
>     ping
>
>     On 27 January 2015 at 21:42, Mike Holmes <mike.holmes@linaro.org
>     <mailto:mike.holmes@linaro.org>> wrote:
>
>         The ODP_UNUSED flag is incorrectly applied to the odp params
>         remove it
>
>         Signed-off-by: Mike Holmes <mike.holmes@linaro.org
>         <mailto:mike.holmes@linaro.org>>
>
>
> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org 
> <mailto:bill.fischofer@linaro.org>>
>
>         --- 
>
>          platform/linux-generic/odp_init.c | 2 +-
>          1 file changed, 1 insertion(+), 1 deletion(-)
>
>         diff --git a/platform/linux-generic/odp_init.c
>         b/platform/linux-generic/odp_init.c
>         index 9815ecf..c79ff76 100644
>         --- a/platform/linux-generic/odp_init.c
>         +++ b/platform/linux-generic/odp_init.c
>         @@ -10,7 +10,7 @@
>          #include <odp_debug_internal.h>
>
>
>         -int odp_init_global(odp_init_t *params ODP_UNUSED,
>         +int odp_init_global(odp_init_t *params,
>                                 odp_platform_init_t *platform_params
>         ODP_UNUSED)
>          {
>                 odp_global_data.log_fn = odp_override_log;
>         --
>         2.1.0
>
>
>
>
>     -- 
>     *Mike Holmes*
>     Linaro  Sr Technical Manager
>     LNG - ODP
>
>     _______________________________________________
>     lng-odp mailing list
>     lng-odp@lists.linaro.org <mailto:lng-odp@lists.linaro.org>
>     http://lists.linaro.org/mailman/listinfo/lng-odp
>
>
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
diff mbox

Patch

diff --git a/platform/linux-generic/odp_init.c b/platform/linux-generic/odp_init.c
index 9815ecf..c79ff76 100644
--- a/platform/linux-generic/odp_init.c
+++ b/platform/linux-generic/odp_init.c
@@ -10,7 +10,7 @@ 
 #include <odp_debug_internal.h>
 
 
-int odp_init_global(odp_init_t *params  ODP_UNUSED,
+int odp_init_global(odp_init_t *params,
 			odp_platform_init_t *platform_params ODP_UNUSED)
 {
 	odp_global_data.log_fn = odp_override_log;