From fc90a60fcf2cc906eb4583ac2fc5f7fa6927938c Mon Sep 17 00:00:00 2001 From: Michael Hunold Date: Mon, 11 Aug 2003 12:20:15 +0000 Subject: Fix typo, remove unused variable. --- linux/drivers/media/common/saa7146_core.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'linux/drivers/media') diff --git a/linux/drivers/media/common/saa7146_core.c b/linux/drivers/media/common/saa7146_core.c index ff007a6e5..3223e3338 100644 --- a/linux/drivers/media/common/saa7146_core.c +++ b/linux/drivers/media/common/saa7146_core.c @@ -142,9 +142,9 @@ int saa7146_pgtable_alloc(struct pci_dev *pci, struct saa7146_pgtable *pt) void saa7146_pgtable_build_single(struct pci_dev *pci, struct saa7146_pgtable *pt, struct scatterlist *list, int sglen ) { - u32 *ptr, fill; - intnr_pages = 0; - int i,j,p; + u32 *ptr, fill; + int nr_pages = 0; + int i,p; BUG_ON( 0 == sglen); @@ -172,8 +172,8 @@ void saa7146_pgtable_build_single(struct pci_dev *pci, struct saa7146_pgtable *p /* ptr = pt->cpu; - for(j=0;j<60;j++) { - printk("ptr1 %d: 0x%08x\n",j,ptr[j]); + for(i=0;i<60;i++) { + printk("ptr1 %d: 0x%08x\n",i,ptr[i]); } */ } -- cgit v1.2.3