Revert "um: line: always fill *error_out in setup_one_line()"
This reverts commit 02eb370a4c
.
This commit is contained in:
parent
10efc08feb
commit
40b2071803
1 changed files with 0 additions and 2 deletions
|
@ -378,7 +378,6 @@ int setup_one_line(struct line *lines, int n, char *init,
|
||||||
parse_chan_pair(NULL, line, n, opts, error_out);
|
parse_chan_pair(NULL, line, n, opts, error_out);
|
||||||
err = 0;
|
err = 0;
|
||||||
}
|
}
|
||||||
*error_out = "configured as 'none'";
|
|
||||||
} else {
|
} else {
|
||||||
char *new = kstrdup(init, GFP_KERNEL);
|
char *new = kstrdup(init, GFP_KERNEL);
|
||||||
if (!new) {
|
if (!new) {
|
||||||
|
@ -402,7 +401,6 @@ int setup_one_line(struct line *lines, int n, char *init,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (err) {
|
if (err) {
|
||||||
*error_out = "failed to parse channel pair";
|
|
||||||
line->init_str = NULL;
|
line->init_str = NULL;
|
||||||
line->valid = 0;
|
line->valid = 0;
|
||||||
kfree(new);
|
kfree(new);
|
||||||
|
|
Loading…
Add table
Reference in a new issue