projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
collectd.spec: add gps plugin
[collectd.git]
/
src
/
ipmi.c
diff --git
a/src/ipmi.c
b/src/ipmi.c
index
d61a8bc
..
ad62299
100644
(file)
--- a/
src/ipmi.c
+++ b/
src/ipmi.c
@@
-432,11
+432,9
@@
static int sensor_list_remove (ipmi_sensor_t *sensor)
static int sensor_list_read_all (void)
{
static int sensor_list_read_all (void)
{
- c_ipmi_sensor_list_t *list_item;
-
pthread_mutex_lock (&sensor_list_lock);
pthread_mutex_lock (&sensor_list_lock);
- for (list_item = sensor_list;
+ for (
c_ipmi_sensor_list_t *
list_item = sensor_list;
list_item != NULL;
list_item = list_item->next)
{
list_item != NULL;
list_item = list_item->next)
{