summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Goodbody <andrew.goodbody@linaro.org>2025-07-14 17:40:47 +0100
committerTom Rini <trini@konsulko.com>2025-07-22 11:29:33 -0600
commitb9db211e3906c0a620ced344a2ebe5f87ccbf951 (patch)
tree6e6a14a344e67e901e0be8d3b12898bcea9fc2a3 /lib
parent01548afc43770020cfebecc4a62cfa0d8b05517e (diff)
lmb: Remove unreachable code
Code after a break is unreachable so remove it. Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/lmb.c2
1 files changed, 0 insertions, 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;
}
}