[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <tencent_E213136E4B8D60D984B3095D9C2E2F0FD107@qq.com>
Date: Tue, 19 Nov 2024 19:59:40 +0800
From: winterver <295107659@...com>
To: akpm@...ux-foundation.org
Cc: linux-mm@...ck.org,
linux-kernel@...r.kernel.org,
Jiale Yang <295107659@...com>
Subject: [PATCH] mm: Remove 'return;' at the end of void cma_activate_area()
From: Jiale Yang <295107659@...com>
Remove 'return;' at the end of void cma_activate_area(). It's a void
function, so an ending return statement is unnecessary.
Signed-off-by: Jiale Yang <295107659@...com>
---
mm/cma.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/mm/cma.c b/mm/cma.c
index 2d9fae939..070399bce 100644
--- a/mm/cma.c
+++ b/mm/cma.c
@@ -135,7 +135,6 @@ static void __init cma_activate_area(struct cma *cma)
totalcma_pages -= cma->count;
cma->count = 0;
pr_err("CMA area %s could not be activated\n", cma->name);
- return;
}
static int __init cma_init_reserved_areas(void)
--
2.43.0
Powered by blists - more mailing lists