]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ALSA: aloop: Drop superfluous break
authorTakashi Iwai <tiwai@suse.de>
Tue, 9 Jun 2026 07:49:04 +0000 (09:49 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 9 Jun 2026 10:50:06 +0000 (12:50 +0200)
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>
sound/drivers/aloop.c

index a37a1695f51c7d763ac50d5fbdedca4b8f96e3a8..3f8488716a08275b90d1cd999f8b9883d6627973 100644 (file)
@@ -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;
                        }
                }
        }