Merge "libmodprobe: remove unused EnableVerbose() method"
This commit is contained in:
commit
c3f17840ae
2 changed files with 0 additions and 9 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue