From 3085d957e8451d2dee7e3b9e73bf10e51b6da746 Mon Sep 17 00:00:00 2001 From: Tom Cherry Date: Tue, 4 Aug 2020 08:28:36 -0700 Subject: [PATCH] libmodprobe: remove SetMinimumLogSeverity() from constructor Only the parent executable, not libraries should set this value. Note that `modprobe` in toolbox and first stage init, the two primary users of this library already set this same minimum log severity. Test: build Change-Id: I888968deede3323cc270efc3cfd1b40fc521d2da --- libmodprobe/libmodprobe.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/libmodprobe/libmodprobe.cpp b/libmodprobe/libmodprobe.cpp index bbdd31778..ceabf626c 100644 --- a/libmodprobe/libmodprobe.cpp +++ b/libmodprobe/libmodprobe.cpp @@ -336,7 +336,6 @@ Modprobe::Modprobe(const std::vector& base_paths, const std::string } ParseKernelCmdlineOptions(); - android::base::SetMinimumLogSeverity(android::base::INFO); } void Modprobe::EnableBlocklist(bool enable) {