git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01548af
)
lmb: Remove unreachable code
author
Andrew Goodbody
<andrew.goodbody@linaro.org>
Mon, 14 Jul 2025 16:40:47 +0000
(17:40 +0100)
committer
Tom Rini
<trini@konsulko.com>
Tue, 22 Jul 2025 17:29:33 +0000
(11:29 -0600)
Code after a break is unreachable so remove it.
Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
lib/lmb.c
patch
|
blob
|
history
diff --git
a/lib/lmb.c
b/lib/lmb.c
index
e3a1761
..
e2d9fe8
100644
(file)
--- 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;
}
}