summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2003-08-11 12:20:15 +0000
committerMichael Hunold <devnull@localhost>2003-08-11 12:20:15 +0000
commitfc90a60fcf2cc906eb4583ac2fc5f7fa6927938c (patch)
treebbc69388552d0a468d8e95c53a683dc443be2788 /linux
parent638d95f3a4fce85199a783efb204ddcb79e1fc0c (diff)
downloadmediapointer-dvb-s2-fc90a60fcf2cc906eb4583ac2fc5f7fa6927938c.tar.gz
mediapointer-dvb-s2-fc90a60fcf2cc906eb4583ac2fc5f7fa6927938c.tar.bz2
Fix typo, remove unused variable.
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/common/saa7146_core.c10
1 files changed, 5 insertions, 5 deletions
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]);
}
*/
}