Revert "ALSA: soc - Fix compile warnings in wm8903.c"
authorTakashi Iwai <tiwai@suse.de>
Mon, 1 Dec 2008 18:59:35 +0000 (19:59 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 1 Dec 2008 19:00:20 +0000 (20:00 +0100)
This reverts commit 9171e5e6a20a9cd4992ff9c7cbee13c6fdf7b0b1.

I can't reproduce the compile warnings any more.  The warnings
might be some weird cross-compiling set up.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/codecs/wm8903.c

index 78070b2cd48005b058be67b429682f9342368647..efbe8927b7d273eea2a028efb412927e7f9024a5 100644 (file)
@@ -379,8 +379,8 @@ static int wm8903_output_event(struct snd_soc_dapm_widget *w,
        struct wm8903_priv *wm8903 = codec->private_data;
        struct i2c_client *i2c = codec->control_data;
        u16 val;
-       u16 uninitialized_var(reg);
-       int uninitialized_var(shift);
+       u16 reg;
+       int shift;
        u16 cp_reg = wm8903_read(codec, WM8903_CHARGE_PUMP_0);
 
        switch (w->reg) {