Return-Path: From: Andrei Emeltchenko To: linux-bluetooth@vger.kernel.org Subject: [PATCHv3 01/11] core: Remove unneeded assignment Date: Mon, 28 Jul 2014 15:46:39 +0300 Message-Id: <1406551609-17546-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> In-Reply-To: <1405587306-20020-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> References: <1405587306-20020-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: From: Andrei Emeltchenko Variable rfcomm is never used after assignment --- src/profile.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/profile.c b/src/profile.c index 528525a..7aca3be 100644 --- a/src/profile.c +++ b/src/profile.c @@ -1272,7 +1272,6 @@ static uint32_t ext_start_servers(struct ext_profile *ext, error("RFCOMM server failed for %s: %s", ext->name, err->message); g_free(rfcomm); - rfcomm = NULL; g_clear_error(&err); goto failed; } else { -- 1.9.1