Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f8960d61 authored by Ondrej Zary's avatar Ondrej Zary Committed by Takashi Iwai
Browse files

ALSA: tea575x-tuner: remove dev_nr



Remove unused dev_nr from struct tea575x_tuner.

Signed-off-by: default avatarOndrej Zary <linux@rainbow-software.org>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 375d1358
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -37,7 +37,6 @@ struct snd_tea575x_ops {
struct snd_tea575x {
struct snd_tea575x {
	struct snd_card *card;
	struct snd_card *card;
	struct video_device *vd;	/* video device */
	struct video_device *vd;	/* video device */
	int dev_nr;			/* requested device number + 1 */
	bool tea5759;			/* 5759 chip is present */
	bool tea5759;			/* 5759 chip is present */
	bool mute;			/* Device is muted? */
	bool mute;			/* Device is muted? */
	bool stereo;			/* receiving stereo */
	bool stereo;			/* receiving stereo */
+0 −1
Original line number Original line Diff line number Diff line
@@ -1453,7 +1453,6 @@ static int __devinit snd_fm801_create(struct snd_card *card,
#ifdef TEA575X_RADIO
#ifdef TEA575X_RADIO
	if ((tea575x_tuner & TUNER_TYPE_MASK) > 0 &&
	if ((tea575x_tuner & TUNER_TYPE_MASK) > 0 &&
	    (tea575x_tuner & TUNER_TYPE_MASK) < 4) {
	    (tea575x_tuner & TUNER_TYPE_MASK) < 4) {
		chip->tea.dev_nr = tea575x_tuner >> 16;
		chip->tea.card = card;
		chip->tea.card = card;
		chip->tea.freq_fixup = 10700;
		chip->tea.freq_fixup = 10700;
		chip->tea.private_data = chip;
		chip->tea.private_data = chip;