Subject: [PATCH] - mm/oom_kill.c trivial cleanup.
From: "Luiz Fernando N. Capitulino" <[email-masked]>
To: Andrew Morton <[email-masked]>
Cc: [email-masked]
Date: Tue, 1 Jun 2004 19:39:28 -0300

Andrew,

 In mm/oom_kill.c::out_of_memory() the next atribution
after line 242 is the same (at line 248).

 The patch bellow remove one of then, Rik agreed
(compiled and tested).

Signed-off by: Luiz Capitulino <[email-masked]>

 mm/oom_kill.c |    1 -
 1 files changed, 1 deletion(-)

diff -X dontdiff -Nparu a/mm/oom_kill.c a~/mm/oom_kill.c
--- a/mm/oom_kill.c	2004-01-09 10:30:39.000000000 -0200
+++ a~/mm/oom_kill.c	2004-06-01 18:32:01.000000000 -0300
@@ -245,7 +245,6 @@ void out_of_memory(void)
 	 * If it's been a long time since last failure,
 	 * we're not oom.
 	 */
-	last = now;
 	if (since > 5*HZ)
 		goto reset;
 
-- 
Luiz Fernando N. Capitulino
<http://www.telecentros.sp.gov.br>