ALSA: tea575x-tuner: remove dev_nr
authorOndrej Zary <linux@rainbow-software.org>
Sat, 19 Mar 2011 15:33:01 +0000 (16:33 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 21 Mar 2011 11:44:06 +0000 (12:44 +0100)
Remove unused dev_nr from struct tea575x_tuner.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/tea575x-tuner.h
sound/pci/fm801.c

index 3d6cdd80df595f4e03c18f305302e8cbb9c03546..5aade569439b6357b6f16feb46755b3690fb9e0d 100644 (file)
@@ -37,7 +37,6 @@ struct snd_tea575x_ops {
 struct snd_tea575x {
        struct snd_card *card;
        struct video_device *vd;        /* video device */
-       int dev_nr;                     /* requested device number + 1 */
        bool tea5759;                   /* 5759 chip is present */
        bool mute;                      /* Device is muted? */
        bool stereo;                    /* receiving stereo */
index e1baad74ea4b4f8a2ae80894c330c0a46026694d..f4dc1c77202b2c4c819e68f80d27f36d8f4934c1 100644 (file)
@@ -1453,7 +1453,6 @@ static int __devinit snd_fm801_create(struct snd_card *card,
 #ifdef TEA575X_RADIO
        if ((tea575x_tuner & TUNER_TYPE_MASK) > 0 &&
            (tea575x_tuner & TUNER_TYPE_MASK) < 4) {
-               chip->tea.dev_nr = tea575x_tuner >> 16;
                chip->tea.card = card;
                chip->tea.freq_fixup = 10700;
                chip->tea.private_data = chip;