Apply the review comments in A2DP multistream 70/201570/1
authorDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 18 Mar 2019 00:36:27 +0000 (09:36 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 18 Mar 2019 00:36:27 +0000 (09:36 +0900)
Change-Id: I7e0ff1040067be3062f1433847913808b5923fdd
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
profiles/audio/avdtp.c

index 8d9bc33..e5fef52 100644 (file)
@@ -497,7 +497,7 @@ static void avdtp_add_source_device(struct btd_device *dev)
                struct avdtp_source_info *ldev = l->data;
 
                if (ldev->dev == dev) {
-                       DBG("in device %p device %p", ldev->dev, dev);
+                       DBG("in device %p", dev);
                        ldev->pause = false;
                        found = true;
                } else {
@@ -514,7 +514,7 @@ static void avdtp_add_source_device(struct btd_device *dev)
        if (!found) {
                struct avdtp_source_info *p;
 
-               p  = g_new0(struct avdtp_source_info, 1);
+               p = g_new0(struct avdtp_source_info, 1);
                p->dev = dev;
                p->pause = false;
                list_source = g_slist_append(list_source, p);