From: Paul M. <le...@us...> - 2005-05-18 10:31:55
|
Update of /cvsroot/linuxsh/linux/arch/sh/mm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15434/arch/sh/mm Modified Files: hugetlbpage.c Log Message: Clean up compile warnings for hugetlbpage. Index: hugetlbpage.c =================================================================== RCS file: /cvsroot/linuxsh/linux/arch/sh/mm/hugetlbpage.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- hugetlbpage.c 14 May 2005 21:59:30 -0000 1.6 +++ hugetlbpage.c 18 May 2005 10:31:40 -0000 1.7 @@ -55,7 +55,6 @@ static void set_huge_pte(struct mm_struct *mm, struct vm_area_struct *vma, struct page *page, pte_t * page_table, int write_access) { - unsigned long i; pte_t entry; mm->rss += (HPAGE_SIZE / PAGE_SIZE); @@ -89,7 +88,6 @@ struct page *ptepage; unsigned long addr = vma->vm_start; unsigned long end = vma->vm_end; - int i; while (addr < end) { dst_pte = huge_pte_alloc(dst, addr); @@ -175,7 +173,6 @@ unsigned long address; pte_t *pte; struct page *page; - int i; BUG_ON(start & (HPAGE_SIZE - 1)); BUG_ON(end & (HPAGE_SIZE - 1)); |