Skip to contentSkip to conversation

tea575x: remove unused card from struct

PATCH Applied Ondrej Zary 1 participant 1 message May 12, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/3 tea575x: remove unused card from struct

struct snd_card *card is present in struct snd_tea575x but never used. Remove it.

include/sound/tea575x-tuner.h +0 -1
@@ -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? */
sound/pci/es1968.c +0 -1
@@ -2793,7 +2793,6 @@ static int __devinit snd_es1968_create(s
 	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))
sound/pci/fm801.c +0 -1
@@ -1230,7 +1230,6 @@ static int __devinit snd_fm801_create(st
 	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 &&
Signature · 1 line
Ondrej Zary