The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: David Gibson <david@gibson.dropbear.id.au>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: linux-kernel@vger.kernel.org, trivial@rustcorp.com.au
Subject: TRIVIAL: Remove warning in mm/memory.c
Date: Tue, 7 May 2002 11:10:13 +1000	[thread overview]
Message-ID: <20020507011013.GD1163@zax> (raw)

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
@@ -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
david@gibson.dropbear.id.au	| solution which is simple, neat and
				| wrong.  -- H.L. Mencken
http://www.ozlabs.org/people/dgibson

             reply	other threads:[~2002-05-07  1:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-07  1:10 David Gibson [this message]
2002-05-07  1:32 ` TRIVIAL: Remove warning in mm/memory.c Anton Altaparmakov
2002-05-07  2:20   ` David Gibson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020507011013.GD1163@zax \
    --to=david@gibson.dropbear.id.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    --cc=trivial@rustcorp.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox