Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ffb7394d51cf6f60a3753a5cc40613fc9d5c5c96
Commit:     ffb7394d51cf6f60a3753a5cc40613fc9d5c5c96
Parent:     05b2723387cb4086535e935ee07cca19086308fc
Author:     Trent Piepho <[EMAIL PROTECTED]>
AuthorDate: Fri Aug 24 01:06:35 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Tue Oct 9 22:06:36 2007 -0300

    V4L/DVB (6084): cx88-alsa: Eliminate snd_cx88_cards
    
    The driver kepts a static global array of snd_card pointers for each card
    probed, which was never used.
    
    Signed-off-by: Trent Piepho <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 drivers/media/video/cx88/cx88-alsa.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/drivers/media/video/cx88/cx88-alsa.c 
b/drivers/media/video/cx88/cx88-alsa.c
index 33dd4cb..ac317fb 100644
--- a/drivers/media/video/cx88/cx88-alsa.c
+++ b/drivers/media/video/cx88/cx88-alsa.c
@@ -95,7 +95,6 @@ typedef struct cx88_audio_dev snd_cx88_card_t;
 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;     /* Index 0-MAX */
 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;      /* ID for this card */
 static int enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 1};
-static struct snd_card *snd_cx88_cards[SNDRV_CARDS];
 
 module_param_array(enable, bool, NULL, 0444);
 MODULE_PARM_DESC(enable, "Enable cx88x soundcard. default enabled.");
@@ -759,8 +758,6 @@ static int __devinit cx88_audio_initdev(struct pci_dev *pci,
                snd_card_free(card);
                return (err);
        }
-       snd_cx88_cards[devno] = card;
-
        pci_set_drvdata(pci,card);
 
        devno++;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to