Skip to contentSkip to conversation

TRIVIAL: Remove warning in mm/memory.c

PATCH David Gibson 2 participants 3 messages May 7, 2002

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Linus, please apply. This patch removes an unused variable in mm/memory.c.

mm/memory.c renamed from home/dgibson/kernel/linuxppc-2.5/mm/memory.c +0 -1
diff -urN /home/dgibson/kernel/linuxppc-2.5/mm/memory.c linux-bluefish/mm/memory.c
@@ -874,7 +874,6 @@
 		end = PMD_SIZE;
 	pfn = phys_addr >> PAGE_SHIFT;
 	do {
-		struct page *page;
 		pte_t oldpage = ptep_get_and_clear(pte);
 
 		if (!pfn_valid(pfn) || PageReserved(pfn_to_page(pfn)))
Signature · 4 lines
David Gibson			| For every complex problem there is a
[email protected]	| solution which is simple, neat and
				| wrong.  -- H.L. Mencken
http://www.ozlabs.org/people/dgibson
#1 lore raw

This is already removed in 2.5.14!

Best regards,

Anton

Quoted 27 lines · David Gibson

Linus, please apply. This patch removes an unused variable in mm/memory.c.

diff -urN /home/dgibson/kernel/linuxppc-2.5/mm/memory.c linux-bluefish/mm/memory.c
--- /home/dgibson/kernel/linuxppc-2.5/mm/memory.c Fri May 3
22:55:10 2002
+++ linux-bluefish/mm/memory.c Tue May 7 10:06:44 2002

mm/memory.c renamed from home/dgibson/kernel/linuxppc-2.5/mm/memory.c +0 -2
@@ -874,7 +874,6 @@
                end = PMD_SIZE;
        pfn = phys_addr >> PAGE_SHIFT;
        do {
-               struct page *page;
                pte_t oldpage = ptep_get_and_clear(pte);
 
                if (!pfn_valid(pfn) || PageReserved(pfn_to_page(pfn)))
 
 
--
David Gibson                    | For every complex problem there is a
[email protected]     | solution which is simple, neat and
                                | wrong.  -- H.L. Mencken

http://www.ozlabs.org/people/dgibson
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 5 lines
  "I've not lost my mind. It's backed up on tape somewhere." - Unknown
-- 
Anton Altaparmakov <aia21 at cantab.net> (replace at with @)
Linux NTFS Maintainer / IRC: #ntfs on irc.openprojects.net
WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/
#2 lore raw
In reply to David Gibson
Quoted 1 line · Anton Altaparmakov

This is already removed in 2.5.14!

Oops, I was working

Quoted 3 lines
Quoted 2 lines · David Gibson

Linus, please apply. This patch removes an unused variable in mm/memory.c.

Oops, I was working of the linuxppc-2.5 bk tree and forget to check that it was up to date with the Linus tree. Sorry.

Signature · 4 lines
David Gibson			| For every complex problem there is a
[email protected]	| solution which is simple, neat and
				| wrong.  -- H.L. Mencken
http://www.ozlabs.org/people/dgibson