summaryrefslogtreecommitdiff
path: root/include/lmb.h
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@foss.st.com>2021-03-10 10:16:26 +0100
committerTom Rini <trini@konsulko.com>2021-04-22 14:09:45 -0400
commit8f167da9c572845782000075e092e63a8273032d (patch)
tree3b75e40b76333426d9aa8587ff703dbe7b9d3760 /include/lmb.h
parent77b8cfef531f7758f35a8598bd474713cfc2c2ec (diff)
lmb: remove lmb_region.size
Remove the unused field size of struct lmb_region as it is initialized to 0 and never used after in lmb library. See Linux kernel commit 4734b594c6ca ("memblock: Remove memblock_type.size and add memblock.memory_size instead") Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Diffstat (limited to 'include/lmb.h')
-rw-r--r--include/lmb.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/lmb.h b/include/lmb.h
index e9f19b16ea..a3247544c1 100644
--- a/include/lmb.h
+++ b/include/lmb.h
@@ -21,7 +21,6 @@ struct lmb_property {
struct lmb_region {
unsigned long cnt;
- phys_size_t size;
struct lmb_property region[MAX_LMB_REGIONS+1];
};