mirror of
https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9.git
synced 2026-09-09 00:08:12 +08:00
ALSA: aloop: Drop superfluous break
JIRA: https://issues.redhat.com/browse/RHEL-193254 commit 123fd13f35ccaf7d2b98f5a8cc6c8a3de378568d Author: Takashi Iwai <tiwai@suse.de> Date: Tue Jun 9 09:49:04 2026 +0200 ALSA: aloop: Drop superfluous break At converting the spinlock to guard(), a break statement was put in the scoped_guard block in loopback_jiffies_timer_function(), but it's obviously superfluous (although it's harmless). Better to drop it for avoiding confusion. Fixes: 1ef2cb6b29c2 ("ALSA: aloop: Use guard() for spin locks") Link: https://patch.msgid.link/20260609074907.726593-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <jkysela@redhat.com>
This commit is contained in:
@@ -728,7 +728,6 @@ static void loopback_jiffies_timer_function(struct timer_list *t)
|
||||
if (dpcm->period_update_pending) {
|
||||
dpcm->period_update_pending = 0;
|
||||
period_elapsed = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user