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

Commit f83c2991 authored by Takaya Saeki's avatar Takaya Saeki
Browse files

libmodprobe: Remove unused ResetModuleCount function

ModProbe::ResetModuleCount is a dead code which is not called by
anywhere. This change removes it.

Bug: 400592897
Test: Build succeeds
Change-Id: Id2d6045fc72c5e60ec96e34d0170d77c66d2b9cc
parent c16fd00f
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -41,7 +41,6 @@ class Modprobe {
    bool GetAllDependencies(const std::string& module, std::vector<std::string>* pre_dependencies,
                            std::vector<std::string>* dependencies,
                            std::vector<std::string>* post_dependencies);
    void ResetModuleCount() { module_count_ = 0; }
    int GetModuleCount() { return module_count_; }
    bool IsBlocklisted(const std::string& module_name);