projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80598f6
)
lvm: Change unused return value to void
author
Benjamin Gilbert
<bgilbert@cs.cmu.edu>
Wed, 16 Apr 2014 13:47:56 +0000
(09:47 -0400)
committer
Benjamin Gilbert
<bgilbert@cs.cmu.edu>
Wed, 16 Apr 2014 15:56:15 +0000
(11:56 -0400)
src/lvm.c
patch
|
blob
|
history
diff --git
a/src/lvm.c
b/src/lvm.c
index
6ef3a7b
..
606acc7
100644
(file)
--- a/
src/lvm.c
+++ b/
src/lvm.c
@@
-45,7
+45,7
@@
static void lvm_submit (char const *plugin_instance, char const *type_instance,
plugin_dispatch_values (&vl);
}
-static
int
vg_read(vg_t vg, char const *vg_name)
+static
void
vg_read(vg_t vg, char const *vg_name)
{
struct dm_list *lvs;
struct lvm_lv_list *lvl;
@@
-56,8
+56,6
@@
static int vg_read(vg_t vg, char const *vg_name)
dm_list_iterate_items(lvl, lvs) {
lvm_submit(vg_name, lvm_lv_get_name(lvl->lv), lvm_lv_get_size(lvl->lv));
}
-
- return (0);
}
static int lvm_read(void)