lmb: remove lmb_region.size
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Wed, 10 Mar 2021 09:16:26 +0000 (10:16 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 22 Apr 2021 18:09:45 +0000 (14:09 -0400)
commit8f167da9c572845782000075e092e63a8273032d
tree3b75e40b76333426d9aa8587ff703dbe7b9d3760
parent77b8cfef531f7758f35a8598bd474713cfc2c2ec
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>
include/lmb.h
lib/lmb.c