mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-03 13:38:25 +00:00
Do not log the algorithm name.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3081 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
57e3589237
commit
ac478a3ef9
1 file changed
+1
-5
@@ -84,16 +84,12 @@ chipName
|
||||
static int
|
||||
idChip
|
||||
(const sensors_chip_name *chip) {
|
||||
const char *adapter, *algorithm;
|
||||
const char *adapter;
|
||||
|
||||
sensorLog (LOG_INFO, "Chip: %s", chipName (chip));
|
||||
adapter = sensors_get_adapter_name (chip->bus);
|
||||
if (adapter)
|
||||
sensorLog (LOG_INFO, "Adapter: %s", adapter);
|
||||
algorithm = sensors_get_algorithm_name (chip->bus);
|
||||
if (algorithm)
|
||||
sensorLog (LOG_INFO, "Algorithm: %s", algorithm);
|
||||
/* assert adapter || algorithm */
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user