mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
timer: remove dead code in _snd_timer_hw_open()
This commit is contained in:
parent
eabadf545c
commit
cf3846d460
1 changed files with 0 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue