Skip to contentSkip to conversation

ALSA: aloop: Drop superfluous break

PATCH New Takashi Iwai 1 participant 1 message Jun 9 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
---
 sound/drivers/aloop.c | 1 -
 1 file changed, 1 deletion(-)
sound/drivers/aloop.c +0 -1
index a37a1695f51c..3f8488716a08 100644
@@ -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;
 			}
 		}
 	}
Signature · 1 line
2.54.0