From: Jaganath Kanakkassery <jaganath.k@samsung.com>
To: linux-bluetooth@vger.kernel.org
Cc: Jaganath Kanakkassery <jaganath.k@samsung.com>
Subject: [PATCH BlueZ] audio: Remove redundant variable gerr
Date: Fri, 27 Jul 2012 13:14:12 +0530 [thread overview]
Message-ID: <1343375053-19193-1-git-send-email-jaganath.k@samsung.com> (raw)
---
audio/gateway.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/audio/gateway.c b/audio/gateway.c
index 6162948..1c45753 100644
--- a/audio/gateway.c
+++ b/audio/gateway.c
@@ -381,7 +381,6 @@ static void get_incoming_record_cb(sdp_list_t *recs, int err,
{
struct audio_device *dev = user_data;
struct gateway *gw = dev->gateway;
- GError *gerr = NULL;
if (err < 0) {
error("Unable to get service record: %s (%d)", strerror(-err),
@@ -398,7 +397,7 @@ static void get_incoming_record_cb(sdp_list_t *recs, int err,
if (gw->version == 0)
goto fail;
- rfcomm_connect_cb(gw->incoming, gerr, dev);
+ rfcomm_connect_cb(gw->incoming, NULL, dev);
return;
fail:
--
1.7.1
next reply other threads:[~2012-07-27 7:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-27 7:44 Jaganath Kanakkassery [this message]
2012-07-27 7:44 ` [PATCH BlueZ] gdbus: Fix compilation error if macro "error" is defined Jaganath Kanakkassery
2012-07-27 12:25 ` Lucas De Marchi
2012-07-27 12:58 ` Luiz Augusto von Dentz
2012-08-01 10:17 ` Jaganath Kanakkassery
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1343375053-19193-1-git-send-email-jaganath.k@samsung.com \
--to=jaganath.k@samsung.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox