From b9db211e3906c0a620ced344a2ebe5f87ccbf951 Mon Sep 17 00:00:00 2001 From: Andrew Goodbody Date: Mon, 14 Jul 2025 17:40:47 +0100 Subject: [PATCH] lmb: Remove unreachable code Code after a break is unreachable so remove it. Signed-off-by: Andrew Goodbody --- lib/lmb.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/lmb.c b/lib/lmb.c index e3a1761e6d1..e2d9fe86c14 100644 --- a/lib/lmb.c +++ b/lib/lmb.c @@ -215,8 +215,6 @@ static long lmb_add_region_flags(struct alist *lmb_rgn_lst, phys_addr_t base, coalesced++; break; - - return -1; } } -- 2.47.2