diff options
author | Takashi Sakamoto <[email protected]> | 2021-01-25 23:02:08 +0900 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2021-01-26 07:31:13 +0100 |
commit | e32da5eb627c9dd60fd245cb5beb3079e96890d1 (patch) | |
tree | 11caa8222a0ef85482661f933c804d6080ce1022 /scripts/gdb/linux/utils.py | |
parent | f4514249d6483effbc08984ed908fc741de798f0 (diff) |
ALSA: bebob: remove an unnecessary condition in hwdep_read()
Drivers in ALSA firewire stack supports eventing to userspace
applications via ALSA hwdep interface. All of the drivers supports stream
lock events. Some of them supports their unique events according to
specification of target device.
ALSA bebob driver supports the stream lock event only. In the case, it's
enough to check condition only in loop with process blocking. However,
current implementation check it again after breaking the loop.
This commit removes the redundant check.
Reported-by: Dan Carpenter <[email protected]>
Reported-by: Christophe JAILLET <[email protected]>
Signed-off-by: Takashi Sakamoto <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions