Boot monitor setting of device _names_ no longer necessary
This commit is contained in:
parent
b9e585c81c
commit
12618851ad
1 changed files with 0 additions and 8 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue