liblp: delete unused function and fields

Test: builds
Change-Id: Ib7c93cfadacedc4f8d983c490e55fb4672cc9c1d
This commit is contained in:
Yifan Hong 2020-05-26 14:22:22 -07:00
parent 0a6c83e7d0
commit bcf3cc8cce

View file

@ -144,7 +144,6 @@ class Partition final {
std::vector<std::unique_ptr<Extent>> extents_;
uint32_t attributes_;
uint64_t size_;
bool disabled_;
};
// An interval in the metadata. This is similar to a LinearExtent with one difference.
@ -321,9 +320,6 @@ class MetadataBuilder {
// Set the LP_HEADER_FLAG_VIRTUAL_AB_DEVICE flag.
void SetVirtualABDeviceFlag();
// If set, checks for slot suffixes will be ignored internally.
void IgnoreSlotSuffixing();
bool GetBlockDeviceInfo(const std::string& partition_name, BlockDeviceInfo* info) const;
bool UpdateBlockDeviceInfo(const std::string& partition_name, const BlockDeviceInfo& info);