summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-06-29 12:05:21 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-06-29 12:05:21 +0000
commitc3f17840aeb0acc966caeb6beb83bb9570a8d65b (patch)
tree191effd3255982d75cd00353e58f6af6cb4d6114
parent14260d23145e7e13f71cbffcd29b5c6a415215f0 (diff)
parentce30bb8e4b276a0dd2aecbab6fe6f59b081b6f91 (diff)
Merge "libmodprobe: remove unused EnableVerbose() method"
-rw-r--r--libmodprobe/include/modprobe/modprobe.h1
-rw-r--r--libmodprobe/libmodprobe.cpp8
2 files changed, 0 insertions, 9 deletions
diff --git a/libmodprobe/include/modprobe/modprobe.h b/libmodprobe/include/modprobe/modprobe.h
index 4806b08b4..baee4f930 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 5a6ae8be1..bbdd31778 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<std::string> Modprobe::GetDependencies(const std::string& module) {
auto it = module_deps_.find(module);
if (it == module_deps_.end()) {