Skip to content

Commit

Permalink
src: lint fixup: rename function to fit within column width constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
jayaddison committed Jan 26, 2021
1 parent 21ed800 commit 03922c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/large_pages/node_large_page.cc
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ std::istream* GetTransparentHugePagesConfiguration() {
return ifs;
}

bool IsTransparentHugePagesEnabledViaConfiguration(std::istream* configuration) {
bool IsTransparentHugePagesConfigured(std::istream* configuration) {
std::string token;
while (*configuration >> token) {
if (token == "[always]" || token == "[madvise]") return true;
Expand All @@ -282,7 +282,7 @@ bool IsTransparentHugePagesEnabled() {
if (configuration == nullptr) {
return false;
}
bool enabled = IsTransparentHugePagesEnabledViaConfiguration(configuration);
bool enabled = IsTransparentHugePagesConfigured(configuration);
delete configuration;
return enabled;
}
Expand Down

0 comments on commit 03922c0

Please sign in to comment.