projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1997f43
)
protocol-native: Remove written differently but functionally redundant check.
author
Scott Reeves
<sreeves@suse.com>
Thu, 21 Nov 2013 21:43:51 +0000
(14:43 -0700)
committer
Tanu Kaskinen
<tanu.kaskinen@linux.intel.com>
Fri, 29 Nov 2013 04:56:10 +0000
(06:56 +0200)
src/pulsecore/protocol-native.c
patch
|
blob
|
history
diff --git
a/src/pulsecore/protocol-native.c
b/src/pulsecore/protocol-native.c
index
21a9fe2
..
86898e8
100644
(file)
--- a/
src/pulsecore/protocol-native.c
+++ b/
src/pulsecore/protocol-native.c
@@
-3491,7
+3491,6
@@
static void command_get_info(pa_pdispatch *pd, uint32_t command, uint32_t tag, p
command == PA_COMMAND_GET_SOURCE_INFO ||
(idx != PA_INVALID_INDEX || name), tag, PA_ERR_INVALID);
CHECK_VALIDITY(c->pstream, idx == PA_INVALID_INDEX || !name, tag, PA_ERR_INVALID);
- CHECK_VALIDITY(c->pstream, !name || idx == PA_INVALID_INDEX, tag, PA_ERR_INVALID);
if (command == PA_COMMAND_GET_SINK_INFO) {
if (idx != PA_INVALID_INDEX)