summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Zary <linux@rainbow-software.org>2011-03-19 16:33:01 +0100
committerTakashi Iwai <tiwai@suse.de>2011-03-21 12:44:06 +0100
commitf8960d61bc8ba945b07a4de1288aac5d52f8607b (patch)
tree4050b91922f24dc86917a6212a94671c71e956dc
parent375d135818f32bbe7b3f071bd54d977c4ff8d84a (diff)
downloadlinux-3.10-f8960d61bc8ba945b07a4de1288aac5d52f8607b.tar.gz
linux-3.10-f8960d61bc8ba945b07a4de1288aac5d52f8607b.tar.bz2
linux-3.10-f8960d61bc8ba945b07a4de1288aac5d52f8607b.zip
ALSA: tea575x-tuner: remove dev_nr
Remove unused dev_nr from struct tea575x_tuner. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--include/sound/tea575x-tuner.h1
-rw-r--r--sound/pci/fm801.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/include/sound/tea575x-tuner.h b/include/sound/tea575x-tuner.h
index 3d6cdd80df5..5aade569439 100644
--- a/include/sound/tea575x-tuner.h
+++ b/include/sound/tea575x-tuner.h
@@ -37,7 +37,6 @@ struct snd_tea575x_ops {
struct snd_tea575x {
struct snd_card *card;
struct video_device *vd; /* video device */
- int dev_nr; /* requested device number + 1 */
bool tea5759; /* 5759 chip is present */
bool mute; /* Device is muted? */
bool stereo; /* receiving stereo */
diff --git a/sound/pci/fm801.c b/sound/pci/fm801.c
index e1baad74ea4..f4dc1c77202 100644
--- a/sound/pci/fm801.c
+++ b/sound/pci/fm801.c
@@ -1453,7 +1453,6 @@ static int __devinit snd_fm801_create(struct snd_card *card,
#ifdef TEA575X_RADIO
if ((tea575x_tuner & TUNER_TYPE_MASK) > 0 &&
(tea575x_tuner & TUNER_TYPE_MASK) < 4) {
- chip->tea.dev_nr = tea575x_tuner >> 16;
chip->tea.card = card;
chip->tea.freq_fixup = 10700;
chip->tea.private_data = chip;