2014-06-17 13:56:07

by Andrei Emeltchenko

[permalink] [raw]
Subject: [PATCH] android/health: trivial: Remove unneeded NULL assignment

From: Andrei Emeltchenko <[email protected]>

---
android/health.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/android/health.c b/android/health.c
index 4a709ef..54da771 100644
--- a/android/health.c
+++ b/android/health.c
@@ -465,7 +465,6 @@ static void free_hdp_list(void *list)
sdp_list_t *hdp_list = list;

sdp_list_free(hdp_list, (sdp_free_func_t)sdp_data_free);
- hdp_list = NULL;
}

static void register_features(void *data, void *user_data)
--
1.8.3.2



2014-06-17 19:26:30

by Szymon Janc

[permalink] [raw]
Subject: Re: [PATCH] android/health: trivial: Remove unneeded NULL assignment

Hi Andrei,

On Tuesday 17 June 2014 16:56:07 Andrei Emeltchenko wrote:
> From: Andrei Emeltchenko <[email protected]>
>
> ---
> android/health.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/android/health.c b/android/health.c
> index 4a709ef..54da771 100644
> --- a/android/health.c
> +++ b/android/health.c
> @@ -465,7 +465,6 @@ static void free_hdp_list(void *list)
> sdp_list_t *hdp_list = list;
>
> sdp_list_free(hdp_list, (sdp_free_func_t)sdp_data_free);
> - hdp_list = NULL;
> }
>
> static void register_features(void *data, void *user_data)

Applied, thanks.

--
Szymon K. Janc
[email protected]