projects
/
platform
/
upstream
/
bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5408299
)
a2dp: Fix useless statement
author
Luiz Augusto von Dentz
<luiz.von.dentz@intel.com>
Fri, 3 May 2019 11:49:22 +0000
(14:49 +0300)
committer
himanshu
<h.himanshu@samsung.com>
Tue, 11 Feb 2020 08:57:47 +0000
(14:27 +0530)
Checking for NULL path doesn't really matter since NULL is returned
anyway.
Change-Id: Iba01088d9b95cb4541f4aa37f44ef8d7b6518f81
Signed-off-by: himanshu <h.himanshu@samsung.com>
profiles/audio/a2dp.c
patch
|
blob
|
history
diff --git
a/profiles/audio/a2dp.c
b/profiles/audio/a2dp.c
index
2b3eea3
..
56f0886
100644
(file)
--- a/
profiles/audio/a2dp.c
+++ b/
profiles/audio/a2dp.c
@@
-3167,8
+3167,7
@@
struct btd_device *a2dp_setup_get_device(struct a2dp_setup *setup)
const char *a2dp_setup_remote_path(struct a2dp_setup *setup)
{
if (setup->rsep) {
- if (setup->rsep->path)
- return setup->rsep->path;
+ return setup->rsep->path;
}
return NULL;