projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove parentheses around return arguments
[collectd.git]
/
src
/
thermal.c
diff --git
a/src/thermal.c
b/src/thermal.c
index
fbae6cc
..
4815755
100644
(file)
--- a/
src/thermal.c
+++ b/
src/thermal.c
@@
-78,7
+78,7
@@
static int thermal_sysfs_device_read(const char __attribute__((unused)) * dir,
success = 1;
}
success = 1;
}
- return
(success ? 0 : -1)
;
+ return
success ? 0 : -1
;
}
static int thermal_procfs_device_read(const char __attribute__((unused)) * dir,
}
static int thermal_procfs_device_read(const char __attribute__((unused)) * dir,
@@
-168,13
+168,11
@@
static int thermal_config(const char *key, const char *value) {
}
static int thermal_sysfs_read(void) {
}
static int thermal_sysfs_read(void) {
- return walk_directory(dirname_sysfs, thermal_sysfs_device_read,
- /* user_data = */ NULL, /* include hidden */ 0);
+ return walk_directory(dirname_sysfs, thermal_sysfs_device_read, NULL, 0);
}
static int thermal_procfs_read(void) {
}
static int thermal_procfs_read(void) {
- return walk_directory(dirname_procfs, thermal_procfs_device_read,
- /* user_data = */ NULL, /* include hidden */ 0);
+ return walk_directory(dirname_procfs, thermal_procfs_device_read, NULL, 0);
}
static int thermal_init(void) {
}
static int thermal_init(void) {