remove some temp-related comments

Remove a few unnecessary temperature-related comments.
This commit is contained in:
Joe Gallo 2016-02-04 07:05:41 -05:00
parent e94f6a2875
commit 311dbeed4d

View File

@ -96,9 +96,7 @@ std::set<std::string> kSMCTemperatureKeys = {
}; };
// clang-format on // clang-format on
// Two sources considered: // http://superuser.com/a/967056
// * http://superuser.com/a/967056
// * https://goo.gl/9kv6Ny
const std::map<std::string, std::string> kSMCKeyDescriptions = { const std::map<std::string, std::string> kSMCKeyDescriptions = {
{"TCXC", "PECI CPU"}, {"TCXC", "PECI CPU"},
{"TCXc", "PECI CPU"}, {"TCXc", "PECI CPU"},
@ -433,7 +431,7 @@ void genTemperature(const std::string &key,
} }
auto &smcRow = key_data.back(); auto &smcRow = key_data.back();
if (smcRow["value"].empty() /*|| smcRow["type"].compare("sp78") != 0*/) { if (smcRow["value"].empty()) {
return; return;
} }