libmodprobe: remove unused EnableVerbose() method
modprobe command no longer uses EnableVerbose, opting to do the associated operations directly. Test: compile Change-Id: Iffc8324f37f34de4eeb9a27e92fdf5524afa2220
This commit is contained in:
parent
63368beaba
commit
ce30bb8e4b
|
@ -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…
Reference in New Issue