linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] bnep: Remove unneeded assignment
@ 2013-12-09 14:17 Andrei Emeltchenko
  2013-12-10 11:40 ` Luiz Augusto von Dentz
  0 siblings, 1 reply; 2+ messages in thread
From: Andrei Emeltchenko @ 2013-12-09 14:17 UTC (permalink / raw)
  To: linux-bluetooth

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

---
 profiles/network/bnep.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/profiles/network/bnep.c b/profiles/network/bnep.c
index 0a719a2..912c0c2 100644
--- a/profiles/network/bnep.c
+++ b/profiles/network/bnep.c
@@ -88,7 +88,6 @@ static void free_bnep_connect(struct bnep_conn *bc)
 	}
 
 	g_free(bc);
-	bc = NULL;
 }
 
 uint16_t bnep_service_id(const char *svc)
-- 
1.8.3.2


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

* Re: [PATCH] bnep: Remove unneeded assignment
  2013-12-09 14:17 [PATCH] bnep: Remove unneeded assignment Andrei Emeltchenko
@ 2013-12-10 11:40 ` Luiz Augusto von Dentz
  0 siblings, 0 replies; 2+ messages in thread
From: Luiz Augusto von Dentz @ 2013-12-10 11:40 UTC (permalink / raw)
  To: Andrei Emeltchenko; +Cc: linux-bluetooth@vger.kernel.org

Hi Andrei,

On Mon, Dec 9, 2013 at 4:17 PM, Andrei Emeltchenko
<Andrei.Emeltchenko.news@gmail.com> wrote:
> From: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
>
> ---
>  profiles/network/bnep.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/profiles/network/bnep.c b/profiles/network/bnep.c
> index 0a719a2..912c0c2 100644
> --- a/profiles/network/bnep.c
> +++ b/profiles/network/bnep.c
> @@ -88,7 +88,6 @@ static void free_bnep_connect(struct bnep_conn *bc)
>         }
>
>         g_free(bc);
> -       bc = NULL;
>  }
>
>  uint16_t bnep_service_id(const char *svc)
> --
> 1.8.3.2

Pushed, thanks.


-- 
Luiz Augusto von Dentz

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

end of thread, other threads:[~2013-12-10 11:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-09 14:17 [PATCH] bnep: Remove unneeded assignment Andrei Emeltchenko
2013-12-10 11:40 ` Luiz Augusto von Dentz

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