diff --git a/libmodprobe/include/modprobe/modprobe.h b/libmodprobe/include/modprobe/modprobe.h index 4806b08b43e9073a2942bb1caec5133e00c7864c..baee4f9307560df3a6de606c98650e0b08bb8e1f 100644 --- a/libmodprobe/include/modprobe/modprobe.h +++ b/libmodprobe/include/modprobe/modprobe.h @@ -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); diff --git a/libmodprobe/libmodprobe.cpp b/libmodprobe/libmodprobe.cpp index 5a6ae8be12922f0c7849a6abb91ca92be9c85309..bbdd31778a8338f3348fd4be384eb46041cd7a92 100644 --- a/libmodprobe/libmodprobe.cpp +++ b/libmodprobe/libmodprobe.cpp @@ -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 Modprobe::GetDependencies(const std::string& module) { auto it = module_deps_.find(module); if (it == module_deps_.end()) {