OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff31273
)
android/hal-audio: Remove unneeded check
author
Andrei Emeltchenko
<andrei.emeltchenko@intel.com>
Fri, 18 Jul 2014 14:35:30 +0000
(17:35 +0300)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Mon, 21 Jul 2014 08:39:31 +0000
(11:39 +0300)
rsp_len cannot be NULL here because of NULL check in the beginning of
the function.
android/hal-audio.c
patch
|
blob
|
history
diff --git
a/android/hal-audio.c
b/android/hal-audio.c
index
d7a06fa
..
66dc46a
100644
(file)
--- a/
android/hal-audio.c
+++ b/
android/hal-audio.c
@@
-286,8
+286,7
@@
static int audio_ipc_cmd(uint8_t service_id, uint8_t opcode, uint16_t len,
goto failed;
}
- if (rsp_len)
- *rsp_len = cmd.len;
+ *rsp_len = cmd.len;
return AUDIO_STATUS_SUCCESS;