diff options
author | Ondrej Zary <linux@rainbow-software.org> | 2011-05-12 16:18:09 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-05-13 13:43:14 -0400 |
commit | 3d11ba5593b801b1db85e9680d585713e6039112 (patch) | |
tree | 669c9de681dbbb37c91fdc1d32c290b2b58ab06b | |
parent | ea27316e4cd13b25727715c0db8adb0b1661f5e7 (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.h | 1 | ||||
-rw-r--r-- | sound/pci/es1968.c | 1 | ||||
-rw-r--r-- | sound/pci/fm801.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/include/sound/tea575x-tuner.h b/include/sound/tea575x-tuner.h index 0291f48e035e..42ce8cd7616f 100644 --- a/include/sound/tea575x-tuner.h +++ b/include/sound/tea575x-tuner.h | |||
@@ -42,7 +42,6 @@ struct snd_tea575x_ops { | |||
42 | }; | 42 | }; |
43 | 43 | ||
44 | struct snd_tea575x { | 44 | struct snd_tea575x { |
45 | struct snd_card *card; | ||
46 | struct video_device *vd; /* video device */ | 45 | struct video_device *vd; /* video device */ |
47 | bool tea5759; /* 5759 chip is present */ | 46 | bool tea5759; /* 5759 chip is present */ |
48 | bool mute; /* Device is muted? */ | 47 | bool mute; /* Device is muted? */ |
diff --git a/sound/pci/es1968.c b/sound/pci/es1968.c index 3f3ff1bae814..ec7f8371a812 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, | |||
2793 | snd_card_set_dev(card, &pci->dev); | 2793 | snd_card_set_dev(card, &pci->dev); |
2794 | 2794 | ||
2795 | #ifdef CONFIG_SND_ES1968_RADIO | 2795 | #ifdef CONFIG_SND_ES1968_RADIO |
2796 | chip->tea.card = card; | ||
2797 | chip->tea.private_data = chip; | 2796 | chip->tea.private_data = chip; |
2798 | chip->tea.ops = &snd_es1968_tea_ops; | 2797 | chip->tea.ops = &snd_es1968_tea_ops; |
2799 | if (!snd_tea575x_init(&chip->tea)) | 2798 | if (!snd_tea575x_init(&chip->tea)) |
diff --git a/sound/pci/fm801.c b/sound/pci/fm801.c index 1d4e71cc18b6..ae5c270bfa7d 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, | |||
1230 | snd_card_set_dev(card, &pci->dev); | 1230 | snd_card_set_dev(card, &pci->dev); |
1231 | 1231 | ||
1232 | #ifdef TEA575X_RADIO | 1232 | #ifdef TEA575X_RADIO |
1233 | chip->tea.card = card; | ||
1234 | chip->tea.private_data = chip; | 1233 | chip->tea.private_data = chip; |
1235 | chip->tea.ops = &snd_fm801_tea_ops; | 1234 | chip->tea.ops = &snd_fm801_tea_ops; |
1236 | if ((tea575x_tuner & TUNER_TYPE_MASK) > 0 && | 1235 | if ((tea575x_tuner & TUNER_TYPE_MASK) > 0 && |