Skip to content

Commit

Permalink
7451 loader: pInterp is no longer needed
Browse files Browse the repository at this point in the history
Reviewed by: Alexander Eremin <a.eremin@nexenta.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Dan McDonald <danmcd@omniti.com>
  • Loading branch information
tsoome authored and Dan McDonald committed Oct 5, 2016
1 parent 26649ed commit 851874c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions usr/src/boot/sys/boot/common/interp_forth.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ extern char bootprog_rev[];
ficlSystemInformation *fsi;
ficlSystem *bf_sys;
ficlVm *bf_vm;
ficlWord *pInterp;

/*
* Shim for taking commands from BF and passing them out to 'standard'
Expand Down Expand Up @@ -311,8 +310,6 @@ bf_init(char *rc)
ficlDictionarySetConstant(env, "loader_version",
(bootprog_rev[0] - '0') * 10 + (bootprog_rev[2] - '0'));

pInterp = ficlSystemLookup(bf_sys, "interpret");

/* try to load and run init file if present */
if (rc == NULL)
rc = "/boot/forth/boot.4th";
Expand All @@ -323,9 +320,6 @@ bf_init(char *rc)
close(fd);
}
}

/* Do this again, so that interpret can be redefined. */
pInterp = ficlSystemLookup(bf_sys, "interpret");
}

/*
Expand Down

0 comments on commit 851874c

Please sign in to comment.