Remove superfluous comment from DMRaid::lookup_dmraid_members()
Utils::trim_trailing_new_line() name is self-explanatory and doesn't
require a comment. The comment became superfluous with commit:
1fbc8988ff
Extract repeated code into trim_trailing_new_line() (!105)
This commit is contained in:
parent
c6ee5d8df5
commit
b78402d428
|
@ -569,7 +569,6 @@ std::vector<Glib::ustring> DMRaid::lookup_dmraid_members(const Glib::ustring& ar
|
||||||
Glib::ustring error;
|
Glib::ustring error;
|
||||||
Utils::execute_command("udevadm info --query=name " + Glib::shell_quote(array),
|
Utils::execute_command("udevadm info --query=name " + Glib::shell_quote(array),
|
||||||
output, error, true);
|
output, error, true);
|
||||||
// Strip terminating new line from output.
|
|
||||||
output = Utils::trim_trailing_new_line(output);
|
output = Utils::trim_trailing_new_line(output);
|
||||||
|
|
||||||
if (output.empty())
|
if (output.empty())
|
||||||
|
|
Loading…
Reference in New Issue