disk/mkfs: remove unused cputype variable (thanks kvik)

This commit is contained in:
cinap_lenrek 2018-11-12 16:54:59 +01:00
parent 8c57331b9b
commit 3b51df75b5

View file

@ -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];