aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Zary <linux@rainbow-software.org>2011-05-12 22:18:09 +0200
committerTakashi Iwai <tiwai@suse.de>2011-05-13 19:43:14 +0200
commit3d11ba5593b801b1db85e9680d585713e6039112 (patch)
tree669c9de681dbbb37c91fdc1d32c290b2b58ab06b
parentea27316e4cd13b25727715c0db8adb0b1661f5e7 (diff)
ALSA: tea575x: remove unused card from struct
struct snd_card *card is present in struct snd_tea575x but never used. Remove it. 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/es1968.c1
-rw-r--r--sound/pci/fm801.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/include/sound/tea575x-tuner.h b/include/sound/tea575x-tuner.h
index 0291f48e035..42ce8cd7616 100644
--- a/include/sound/tea575x-tuner.h
+++ b/include/sound/tea575x-tuner.h
@@ -42,7 +42,6 @@ struct snd_tea575x_ops {
};
struct snd_tea575x {
- struct snd_card *card;
struct video_device *vd; /* video device */
bool tea5759; /* 5759 chip is present */
bool mute; /* Device is muted? */
diff --git a/sound/pci/es1968.c b/sound/pci/es1968.c
index 3f3ff1bae81..ec7f8371a81 100644
--- a/sound/pci/es1968.c
+++ b/sound/pci/es1968.c
@@ -2793,7 +2793,6 @@ static int __devinit snd_es1968_create(struct snd_card *card,
snd_card_set_dev(card, &pci->dev);
#ifdef CONFIG_SND_ES1968_RADIO
- chip->tea.card = card;
chip->tea.private_data = chip;
chip->tea.ops = &snd_es1968_tea_ops;
if (!snd_tea575x_init(&chip->tea))
diff --git a/sound/pci/fm801.c b/sound/pci/fm801.c
index 1d4e71cc18b..ae5c270bfa7 100644
--- a/sound/pci/fm801.c
+++ b/sound/pci/fm801.c
@@ -1230,7 +1230,6 @@ static int __devinit snd_fm801_create(struct snd_card *card,
snd_card_set_dev(card, &pci->dev);
#ifdef TEA575X_RADIO
- chip->tea.card = card;
chip->tea.private_data = chip;
chip->tea.ops = &snd_fm801_tea_ops;
if ((tea575x_tuner & TUNER_TYPE_MASK) > 0 &&