[PATCH] 2.4.14 redundant instruction in kernel/module.c

From: Piotr Kasprzyk (kwadrat@rose.iinf.polsl.gliwice.pl)
Date: Tue Nov 06 2001 - 09:20:41 EST


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;
                 }
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Nov 07 2001 - 21:00:30 EST