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

Commit c3f17840 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "libmodprobe: remove unused EnableVerbose() method"

parents 14260d23 ce30bb8e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -37,7 +37,6 @@ class Modprobe {
    void ResetModuleCount() { module_count_ = 0; }
    int GetModuleCount() { return module_count_; }
    void EnableBlocklist(bool enable);
    void EnableVerbose(bool enable);

  private:
    std::string MakeCanonical(const std::string& module_path);
+0 −8
Original line number Diff line number Diff line
@@ -343,14 +343,6 @@ void Modprobe::EnableBlocklist(bool enable) {
    blocklist_enabled = enable;
}

void Modprobe::EnableVerbose(bool enable) {
    if (enable) {
        android::base::SetMinimumLogSeverity(android::base::VERBOSE);
    } else {
        android::base::SetMinimumLogSeverity(android::base::INFO);
    }
}

std::vector<std::string> Modprobe::GetDependencies(const std::string& module) {
    auto it = module_deps_.find(module);
    if (it == module_deps_.end()) {