[PATCH 2/3] tea575x: remove unused card from struct

From: Ondrej Zary
Date: Thu May 12 2011 - 16:18:23 EST


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

Signed-off-by: Ondrej Zary <linux@xxxxxxxxxxxxxxxxxxxx>

--- linux-2.6.39-rc2-/include/sound/tea575x-tuner.h 2011-05-12 21:22:35.000000000 +0200
+++ linux-2.6.39-rc2/include/sound/tea575x-tuner.h 2011-05-12 21:21:37.000000000 +0200
@@ -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? */
--- linux-2.6.39-rc2-/sound/pci/es1968.c 2011-05-12 21:22:35.000000000 +0200
+++ linux-2.6.39-rc2/sound/pci/es1968.c 2011-05-12 21:22:09.000000000 +0200
@@ -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))
--- linux-2.6.39-rc2-/sound/pci/fm801.c 2011-05-12 21:22:35.000000000 +0200
+++ linux-2.6.39-rc2/sound/pci/fm801.c 2011-05-12 21:22:05.000000000 +0200
@@ -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 &&


--
Ondrej Zary
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/