From 40b2071803f71e6e09a8cd4f430de91c3f0fafa8 Mon Sep 17 00:00:00 2001 From: Ksawlii Date: Sun, 24 Nov 2024 00:23:40 +0100 Subject: [PATCH] Revert "um: line: always fill *error_out in setup_one_line()" This reverts commit 02eb370a4c4eebea35bbd1ac6eb716f117b1e9be. --- arch/um/drivers/line.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/um/drivers/line.c b/arch/um/drivers/line.c index d2beb4a49..37e96ba0f 100755 --- a/arch/um/drivers/line.c +++ b/arch/um/drivers/line.c @@ -378,7 +378,6 @@ int setup_one_line(struct line *lines, int n, char *init, parse_chan_pair(NULL, line, n, opts, error_out); err = 0; } - *error_out = "configured as 'none'"; } else { char *new = kstrdup(init, GFP_KERNEL); if (!new) { @@ -402,7 +401,6 @@ int setup_one_line(struct line *lines, int n, char *init, } } if (err) { - *error_out = "failed to parse channel pair"; line->init_str = NULL; line->valid = 0; kfree(new);