diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-11-02 21:40:06 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-11-02 21:40:06 +0100 |
commit | 112daa7a4c09059ae93e1a3de42e874c13a30728 (patch) | |
tree | 750bacd337a4a5e6c3e825c04213c4e58ba0dc1a /sound/pci/hda/patch_via.c | |
parent | 1fa1757366783fb52e6e85c2d735db49b818d382 (diff) | |
download | linux-112daa7a4c09059ae93e1a3de42e874c13a30728.tar.bz2 |
ALSA: hda - Remove unused variables
Just clean-up what GCC caught.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_via.c')
-rw-r--r-- | sound/pci/hda/patch_via.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c index 417d62ad3b96..0b020a93a8ed 100644 --- a/sound/pci/hda/patch_via.c +++ b/sound/pci/hda/patch_via.c @@ -3700,13 +3700,8 @@ static const struct hda_verb vt1812_init_verbs[] = { static void set_widgets_power_state_vt1812(struct hda_codec *codec) { struct via_spec *spec = codec->spec; - int imux_is_smixer = - snd_hda_codec_read(codec, 0x13, 0, AC_VERB_GET_CONNECT_SEL, 0x00) == 3; unsigned int parm; unsigned int present; - /* MUX10 (1eh) = stereo mixer */ - imux_is_smixer = - snd_hda_codec_read(codec, 0x1e, 0, AC_VERB_GET_CONNECT_SEL, 0x00) == 5; /* inputs */ /* PW 5/6/7 (29h/2ah/2bh) */ parm = AC_PWRST_D3; |