linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrei Emeltchenko <Andrei.Emeltchenko.news@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH 2/6] android/pan: Remove unneeded NULL assignment
Date: Tue,  3 Dec 2013 17:53:09 +0200	[thread overview]
Message-ID: <1386085993-22055-2-git-send-email-Andrei.Emeltchenko.news@gmail.com> (raw)
In-Reply-To: <1386085993-22055-1-git-send-email-Andrei.Emeltchenko.news@gmail.com>

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

---
 android/pan.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/android/pan.c b/android/pan.c
index fe6ee26..87fa4e8 100644
--- a/android/pan.c
+++ b/android/pan.c
@@ -81,7 +81,6 @@ static void pan_device_free(struct pan_device *dev)
 
 	devices = g_slist_remove(devices, dev);
 	g_free(dev);
-	dev = NULL;
 }
 
 static void bt_pan_notify_conn_state(struct pan_device *dev, uint8_t state)
-- 
1.8.3.2


  reply	other threads:[~2013-12-03 15:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-03 15:53 [PATCH 1/6] android/a2dp: Fix possible NULL dereference Andrei Emeltchenko
2013-12-03 15:53 ` Andrei Emeltchenko [this message]
2013-12-03 15:53 ` [PATCH 3/6] android/pan: Fix no return on error path Andrei Emeltchenko
2013-12-03 15:53 ` [PATCH 4/6] android/doc: Add socket-api.txt document Andrei Emeltchenko
2013-12-03 15:53 ` [PATCH 5/6] sdp: Remove dead code Andrei Emeltchenko
2013-12-03 15:53 ` [PATCH 6/6] avdtp: Remove unneeded local variable Andrei Emeltchenko
2013-12-03 19:53 ` [PATCH 1/6] android/a2dp: Fix possible NULL dereference Luiz Augusto von Dentz
2013-12-04  8:36   ` Andrei Emeltchenko
2013-12-08 15:39     ` Luiz Augusto von Dentz
2013-12-09  8:01       ` Andrei Emeltchenko

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=1386085993-22055-2-git-send-email-Andrei.Emeltchenko.news@gmail.com \
    --to=andrei.emeltchenko.news@gmail.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;
as well as URLs for NNTP newsgroup(s).