hwmontemp: Remove trace for unmatched hwmon file
This trace occurred when there was a temp*_input file that didn't have
an entity-manager configuration used by hwmontempsensor.
Remove it since there are valid cases for this, such as
* PSUSensor or some other application monitors that temperature.
* That temperature doesn't need to be monitored.
An alternative could be to make it a debug trace.
Tested:
No longer see statements like the following the journal:
failed to find match for 9-004d
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Idaeb84f755ce0760071ccb1e17a8fad2dc8059c3
diff --git a/src/HwmonTempMain.cpp b/src/HwmonTempMain.cpp
index 670947b..274e0a1 100644
--- a/src/HwmonTempMain.cpp
+++ b/src/HwmonTempMain.cpp
@@ -264,8 +264,6 @@
}
if (interfacePath == nullptr)
{
- std::cerr << "failed to find match for " << deviceName
- << "\n";
continue;
}