Эх сурвалжийг харах

[ALSA] sound/pci: Drop unnecessary continue

Continue is not needed at the bottom of a loop.
The semantic patch implementing this change is as follows:
@@
@@
for (...;...;...) {
   ...
   if (...) {
     ...
-   continue;
   }
}

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Julia Lawall 17 жил өмнө
parent
commit
3a749730af

+ 0 - 1
sound/pci/intel8x0.c

@@ -2146,7 +2146,6 @@ static int __devinit snd_intel8x0_mixer(struct intel8x0 *chip, int ac97_clock,
 				snd_printk(KERN_ERR "Unable to initialize codec #%d\n", i);
 				snd_printk(KERN_ERR "Unable to initialize codec #%d\n", i);
 			if (i == 0)
 			if (i == 0)
 				goto __err;
 				goto __err;
-			continue;
 		}
 		}
 	}
 	}
 	/* tune up the primary codec */
 	/* tune up the primary codec */