Merge "libmodprobe: remove unused EnableVerbose() method"

This commit is contained in:
Treehugger Robot 2020-06-29 12:05:21 +00:00 committed by Gerrit Code Review
commit c3f17840ae
2 changed files with 0 additions and 9 deletions

View file

@ -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);

View file

@ -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()) {