Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bcf3cc8c authored by Yifan Hong's avatar Yifan Hong
Browse files

liblp: delete unused function and fields

Test: builds
Change-Id: Ib7c93cfadacedc4f8d983c490e55fb4672cc9c1d
parent 0a6c83e7
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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);