aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorTakashi Sakamoto <[email protected]>2021-01-25 23:02:08 +0900
committerTakashi Iwai <[email protected]>2021-01-26 07:31:13 +0100
commite32da5eb627c9dd60fd245cb5beb3079e96890d1 (patch)
tree11caa8222a0ef85482661f933c804d6080ce1022 /scripts/gdb/linux/utils.py
parentf4514249d6483effbc08984ed908fc741de798f0 (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