projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dbi plugin: remove assignment with no effect
[collectd.git]
/
src
/
wireless.c
diff --git
a/src/wireless.c
b/src/wireless.c
index
f2a3cf5
..
8445af2
100644
(file)
--- a/
src/wireless.c
+++ b/
src/wireless.c
@@
-41,7
+41,7
@@
static double wireless_dbm_to_watt (double dbm)
/*
* dbm = 10 * log_{10} (1000 * power / W)
- * power = 10^(dbm/10) * W/1000
+ * power = 10^(dbm/10) * W/1000
*/
watt = pow (10.0, (dbm / 10.0)) / 1000.0;
@@
-88,7
+88,7
@@
static int wireless_read (void)
double quality;
double power;
double noise;
-
+
char *fields[8];
int numfields;