2013-12-09 14:17:28

by Andrei Emeltchenko

[permalink] [raw]
Subject: [PATCH] bnep: Remove unneeded assignment

From: Andrei Emeltchenko <[email protected]>

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



2013-12-10 11:40:32

by Luiz Augusto von Dentz

[permalink] [raw]
Subject: Re: [PATCH] bnep: Remove unneeded assignment

Hi Andrei,

On Mon, Dec 9, 2013 at 4:17 PM, Andrei Emeltchenko
<[email protected]> wrote:
> From: Andrei Emeltchenko <[email protected]>
>
> ---
> 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