ALSA: tea575x: remove unused card from struct
authorOndrej Zary <linux@rainbow-software.org>
Thu, 12 May 2011 20:18:09 +0000 (22:18 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 13 May 2011 17:43:14 +0000 (19:43 +0200)
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>
include/sound/tea575x-tuner.h
sound/pci/es1968.c
sound/pci/fm801.c

index 0291f48e035e75ab897755614af878186c32f6ac..42ce8cd7616f73848941939acc0431fa8ae5e9b2 100644 (file)
@@ -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? */
index 3f3ff1bae814a94014b8d871d1779499b1fb65a0..ec7f8371a8129c7ef94038bc3f2791148a5195af 100644 (file)
@@ -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))
index 1d4e71cc18b63d33d8405a9888bf01e6f54261cc..ae5c270bfa7d1d0823780c4909006bf18be7e96b 100644 (file)
@@ -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 &&