* [PATCH] 2.4.14 redundant instruction in kernel/module.c
@ 2001-11-06 14:20 Piotr Kasprzyk
0 siblings, 0 replies; only message in thread
From: Piotr Kasprzyk @ 2001-11-06 14:20 UTC (permalink / raw
To: linux-kernel
This patch is against 2.4.14.
The line below has no effect on code and can be safely removed.
Why it is there?
I have also similar patch for kernel 2.2.20.
Piotr Kasprzyk
diff -r -u linux-2.4.14/kernel/module.c linux-2.4.14new/kernel/module.c
--- linux-2.4.14/kernel/module.c Fri Sep 14 01:33:03 2001
+++ linux-2.4.14new/kernel/module.c Tue Nov 6 14:57:13 2001
@@ -1189,7 +1189,6 @@
len = 0;
begin = pos;
}
- pos = begin + len;
if (pos > offset+length)
goto leave_the_loop;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-11-06 14:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-06 14:20 [PATCH] 2.4.14 redundant instruction in kernel/module.c Piotr Kasprzyk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).