]> err.no Git - linux-2.6/commitdiff
[ALSA] sound/pci: Drop unnecessary continue
authorJulia Lawall <julia@diku.dk>
Wed, 14 Nov 2007 13:30:43 +0000 (14:30 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:29:23 +0000 (17:29 +0100)
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>
sound/pci/intel8x0.c

index 4bb97646a67abebd031206bcfef3789b870f9f39..312373c81e7d65b7a0823ded83e23bf4ee4c30f8 100644 (file)
@@ -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);
                        if (i == 0)
                                goto __err;
-                       continue;
                }
        }
        /* tune up the primary codec */