OSDN Git Service
(root)
/
android-x86
/
external-alsa-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eabadf5
)
timer: remove dead code in _snd_timer_hw_open()
author
Jaroslav Kysela
<perex@perex.cz>
Wed, 2 Jun 2021 17:50:17 +0000
(19:50 +0200)
committer
Jaroslav Kysela
<perex@perex.cz>
Wed, 2 Jun 2021 17:50:17 +0000
(19:50 +0200)
src/timer/timer_hw.c
patch
|
blob
|
history
diff --git
a/src/timer/timer_hw.c
b/src/timer/timer_hw.c
index
cfb7746
..
fe4e40b
100644
(file)
--- a/
src/timer/timer_hw.c
+++ b/
src/timer/timer_hw.c
@@
-330,8
+330,6
@@
int _snd_timer_hw_open(snd_timer_t **timer, char *name,
SNDERR("Unexpected field %s", id);
return -EINVAL;
}
- if (card < 0)
- return -EINVAL;
return snd_timer_hw_open(timer, name, dev_class, dev_sclass, card, device, subdevice, mode);
}
SND_DLSYM_BUILD_VERSION(_snd_timer_hw_open, SND_TIMER_DLSYM_VERSION);