From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx> Date: Sun, 31 Dec 2023 09:09:25 +0100 Omit an extra message for a memory allocation failure in this function. Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx> --- kernel/gcov/fs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/gcov/fs.c b/kernel/gcov/fs.c index 01520689b57c..0fbfa444a388 100644 --- a/kernel/gcov/fs.c +++ b/kernel/gcov/fs.c @@ -566,7 +566,6 @@ static struct gcov_node *new_node(struct gcov_node *parent, err_nomem: kfree(node); - pr_warn("out of memory\n"); return NULL; } -- 2.43.0