Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a23811e1 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "floss: metrics: Trim newline from modalias"

parents 78a06c04 c0d7fe45
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -646,7 +646,7 @@ static std::string GetChipsetInfoModuleName() {
  std::string path = base::StringPrintf(kChipsetInfoModaliasPath, adapter_index);

  if (base::ReadFileToString(base::FilePath(path), &module)) {
    return module;
    return base::CollapseWhitespaceASCII(module, false);
  }
  return "";
}