public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/3] tea575x: remove unused card from struct
@ 2011-05-12 20:18 Ondrej Zary
  0 siblings, 0 replies; only message in thread
From: Ondrej Zary @ 2011-05-12 20:18 UTC (permalink / raw)
  To: alsa-devel; +Cc: linux-media, Kernel development list

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

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>

--- 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-05-12 20:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-12 20:18 [PATCH 2/3] tea575x: remove unused card from struct Ondrej Zary

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox