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

Commit c45e4fd3 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "libmodprobe: remove unused EnableVerbose() method" am: c3f17840 am: 7fc6cf77

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1350930

Change-Id: I5feffa9b175c37d535de353b27a2f7fc15254be1
parents b0680f4a 7fc6cf77
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()) {