Skip to content

Commit

Permalink
ALSA: tea575x: remove unused card from struct
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ondrej Zary authored and Takashi Iwai committed May 13, 2011
1 parent ea27316 commit 3d11ba5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion include/sound/tea575x-tuner.h
Original file line number Diff line number Diff line change
Expand Up @@ -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? */
Expand Down
1 change: 0 additions & 1 deletion sound/pci/es1968.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
1 change: 0 additions & 1 deletion sound/pci/fm801.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit 3d11ba5

Please sign in to comment.