From: Philip Homburg Date: Mon, 28 Aug 2006 14:59:55 +0000 (+0000) Subject: Removed superfluous assignment to text_base. Reported by Ildar Ismagilov. X-Git-Tag: v3.1.3~190 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=62cb625f1b676bee7b6302fcede7d9d60de81f07;p=minix.git Removed superfluous assignment to text_base. Reported by Ildar Ismagilov. --- diff --git a/kernel/main.c b/kernel/main.c index 5b2707acf..14d27ed5f 100755 --- a/kernel/main.c +++ b/kernel/main.c @@ -111,8 +111,6 @@ PUBLIC void main() } ktsb += ip->stksize; /* point to high end of stack */ rp->p_reg.sp = ktsb; /* this task's initial stack ptr */ - text_base = kinfo.code_base >> CLICK_SHIFT; - /* processes that are in the kernel */ hdrindex = 0; /* all use the first a.out header */ } else { hdrindex = 1 + i-NR_TASKS; /* servers, drivers, INIT */