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
This commit is contained in:
Tom Cherry 2020-08-04 08:28:36 -07:00
parent 001a5df898
commit 3085d957e8

View file

@ -336,7 +336,6 @@ Modprobe::Modprobe(const std::vector<std::string>& base_paths, const std::string
}
ParseKernelCmdlineOptions();
android::base::SetMinimumLogSeverity(android::base::INFO);
}
void Modprobe::EnableBlocklist(bool enable) {