Skip to content

Commit c3f1784

Browse files
Treehugger RobotGerrit Code Review
Treehugger Robot
authored and
Gerrit Code Review
committed
Merge "libmodprobe: remove unused EnableVerbose() method"
2 parents 14260d2 + ce30bb8 commit c3f1784

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

libmodprobe/include/modprobe/modprobe.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ class Modprobe {
3737
void ResetModuleCount() { module_count_ = 0; }
3838
int GetModuleCount() { return module_count_; }
3939
void EnableBlocklist(bool enable);
40-
void EnableVerbose(bool enable);
4140

4241
private:
4342
std::string MakeCanonical(const std::string& module_path);

libmodprobe/libmodprobe.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -343,14 +343,6 @@ void Modprobe::EnableBlocklist(bool enable) {
343343
blocklist_enabled = enable;
344344
}
345345

346-
void Modprobe::EnableVerbose(bool enable) {
347-
if (enable) {
348-
android::base::SetMinimumLogSeverity(android::base::VERBOSE);
349-
} else {
350-
android::base::SetMinimumLogSeverity(android::base::INFO);
351-
}
352-
}
353-
354346
std::vector<std::string> Modprobe::GetDependencies(const std::string& module) {
355347
auto it = module_deps_.find(module);
356348
if (it == module_deps_.end()) {

0 commit comments

Comments
 (0)