kernel/sound: Add missing braces.
authorSascha Wildner <saw@online.de>
Thu, 12 Mar 2015 20:53:17 +0000 (21:53 +0100)
committerSascha Wildner <saw@online.de>
Thu, 12 Mar 2015 20:54:49 +0000 (21:54 +0100)
sys/dev/sound/pci/emu10kx-pcm.c

index acfc301..34c5173 100644 (file)
@@ -260,11 +260,12 @@ emu_dspmixer_uninit(struct snd_mixer *m)
 
        /* drop submixer for AC97 codec */
        sc = mix_getdevinfo(m);
-       if (sc->sm != NULL)
+       if (sc->sm != NULL) {
                err = mixer_delete(sc->sm);
                if (err)
                        return (err);
                sc->sm = NULL;
+       }
        return (0);
 }