diff options
| author | Peter H. Froehlich <peter.hans.froehlich@gmail.com> | 2015-10-03 04:43:05 -0400 | 
|---|---|---|
| committer | Frans Kaashoek <kaashoek@mit.edu> | 2016-08-18 11:25:44 -0400 | 
| commit | 2a117310b5d5fa5e62e7fc8d6d844e5375a2bf65 (patch) | |
| tree | 1a1fc35f3f699c5f77e49e6579d057ad966d1fab | |
| parent | 216fdf846f17192ce02e221a0c7d67277f3cd664 (diff) | |
| download | xv6-labs-2a117310b5d5fa5e62e7fc8d6d844e5375a2bf65.tar.gz xv6-labs-2a117310b5d5fa5e62e7fc8d6d844e5375a2bf65.tar.bz2 xv6-labs-2a117310b5d5fa5e62e7fc8d6d844e5375a2bf65.zip | |
Removed useless variable.
| -rw-r--r-- | mp.c | 4 | 
1 files changed, 0 insertions, 4 deletions
| @@ -12,7 +12,6 @@  #include "proc.h"  struct cpu cpus[NCPU]; -static struct cpu *bcpu;  int ismp;  int ncpu;  uchar ioapicid; @@ -99,7 +98,6 @@ mpinit(void)    struct mpproc *proc;    struct mpioapic *ioapic; -  bcpu = &cpus[0];    if((conf = mpconfig(&mp)) == 0)      return;    ismp = 1; @@ -112,8 +110,6 @@ mpinit(void)          cprintf("mpinit: ncpu=%d apicid=%d\n", ncpu, proc->apicid);          ismp = 0;        } -      if(proc->flags & MPBOOT) -        bcpu = &cpus[ncpu];        cpus[ncpu].id = ncpu;        ncpu++;        p += sizeof(struct mpproc); | 
