From e76a0bed8cfd49d651df6aedcdec3f7042084dda Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Thu, 28 Feb 2008 11:58:18 +0100 Subject: [PATCH] --- yaml --- r: 92083 b: refs/heads/master c: 608b10bad3563e2349393136ce421d9f67329170 h: refs/heads/master i: 92081: 2bfc46625d1026c5278fe90fd6e48961cfbd3336 92079: d0a20b6e1b88eeecaa61d0752226f55c7ccd3006 v: v3 --- [refs] | 2 +- trunk/sound/pci/ac97/ac97_pcm.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 0386eebaf081..65dec99d6412 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 44977b719f7425ddb1cb67d647a4f588a9718163 +refs/heads/master: 608b10bad3563e2349393136ce421d9f67329170 diff --git a/trunk/sound/pci/ac97/ac97_pcm.c b/trunk/sound/pci/ac97/ac97_pcm.c index 3674f35c4a79..48cbda9378c5 100644 --- a/trunk/sound/pci/ac97/ac97_pcm.c +++ b/trunk/sound/pci/ac97/ac97_pcm.c @@ -574,7 +574,6 @@ int snd_ac97_pcm_open(struct ac97_pcm *pcm, unsigned int rate, r = rate > 48000; bus = pcm->bus; if (cfg == AC97_PCM_CFG_SPDIF) { - int err; for (cidx = 0; cidx < 4; cidx++) if (bus->codec[cidx] && (bus->codec[cidx]->ext_id & AC97_EI_SPDIF)) { err = set_spdif_rate(bus->codec[cidx], rate);