disk/mkfs: remove unused cputype variable (thanks kvik)
This commit is contained in:
parent
8c57331b9b
commit
3b51df75b5
|
@ -30,7 +30,6 @@ uchar boutbuf[2*LEN];
|
|||
char newfile[LEN];
|
||||
char oldfile[LEN];
|
||||
char *proto;
|
||||
char *cputype;
|
||||
char *oldroot;
|
||||
char *newroot;
|
||||
char *prog = "mkfs";
|
||||
|
@ -115,10 +114,6 @@ main(int argc, char **argv)
|
|||
zbuf = malloc(buflen);
|
||||
memset(zbuf, 0, buflen);
|
||||
|
||||
cputype = getenv("cputype");
|
||||
if(cputype == 0)
|
||||
cputype = "386";
|
||||
|
||||
errs = 0;
|
||||
for(i = 0; i < argc; i++){
|
||||
proto = argv[i];
|
||||
|
|
Loading…
Reference in a new issue