Merge "libmodprobe: remove unused EnableVerbose() method" am: c3f17840ae
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1350930 Change-Id: I743979a72b79c3b53eea1fad2849b848a0adf5b3
This commit is contained in:
commit
7fc6cf77dd
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