Messages in this thread Patch in this message |  | | Date | Tue, 6 Nov 2001 15:20:41 +0100 | From | Piotr Kasprzyk <> | Subject | [PATCH] 2.4.14 redundant instruction in kernel/module.c |
| |
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/
|  |