From: Ben Gras Date: Fri, 22 Jul 2005 18:31:19 +0000 (+0000) Subject: Boot monitor setting of device _names_ no longer necessary X-Git-Tag: v3.1.0~563 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/Bv9ARM.ch05.html?a=commitdiff_plain;h=12618851add78c719c290aae174b17d99bec5e79;p=minix.git Boot monitor setting of device _names_ no longer necessary --- diff --git a/boot/boot.c b/boot/boot.c index a93fd764c..f913f934f 100755 --- a/boot/boot.c +++ b/boot/boot.c @@ -742,14 +742,6 @@ int b_setenv(int flags, char *name, char *arg, char *value) e->arg= copystr(arg); e->value= copystr(value); - if(e->flags & E_DEV) { - char newname[30]; - strncpy(newname, name, sizeof(newname)-3); - newname[sizeof(newname)-4] = '\0'; - strcat(newname, "_n"); - b_setenv(E_VAR, newname, arg, value); - } - return 0; }