mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-08 02:18:53 +00:00
remove some temp-related comments
Remove a few unnecessary temperature-related comments.
This commit is contained in:
parent
e94f6a2875
commit
311dbeed4d
@ -96,9 +96,7 @@ std::set<std::string> kSMCTemperatureKeys = {
|
||||
};
|
||||
// clang-format on
|
||||
|
||||
// Two sources considered:
|
||||
// * http://superuser.com/a/967056
|
||||
// * https://goo.gl/9kv6Ny
|
||||
// http://superuser.com/a/967056
|
||||
const std::map<std::string, std::string> kSMCKeyDescriptions = {
|
||||
{"TCXC", "PECI CPU"},
|
||||
{"TCXc", "PECI CPU"},
|
||||
@ -433,7 +431,7 @@ void genTemperature(const std::string &key,
|
||||
}
|
||||
|
||||
auto &smcRow = key_data.back();
|
||||
if (smcRow["value"].empty() /*|| smcRow["type"].compare("sp78") != 0*/) {
|
||||
if (smcRow["value"].empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user