linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] android/health: trivial: Remove unneeded NULL assignment
@ 2014-06-17 13:56 Andrei Emeltchenko
  2014-06-17 19:26 ` Szymon Janc
  0 siblings, 1 reply; 2+ messages in thread
From: Andrei Emeltchenko @ 2014-06-17 13:56 UTC (permalink / raw)
  To: linux-bluetooth

From: Andrei Emeltchenko <andrei.emeltchenko@intel.com>

---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] android/health: trivial: Remove unneeded NULL assignment
  2014-06-17 13:56 [PATCH] android/health: trivial: Remove unneeded NULL assignment Andrei Emeltchenko
@ 2014-06-17 19:26 ` Szymon Janc
  0 siblings, 0 replies; 2+ messages in thread
From: Szymon Janc @ 2014-06-17 19:26 UTC (permalink / raw)
  To: Andrei Emeltchenko; +Cc: linux-bluetooth

Hi Andrei,

On Tuesday 17 June 2014 16:56:07 Andrei Emeltchenko wrote:
> From: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
> 
> ---
>  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
szymon.janc@gmail.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-17 19:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-17 13:56 [PATCH] android/health: trivial: Remove unneeded NULL assignment Andrei Emeltchenko
2014-06-17 19:26 ` Szymon Janc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).