projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1afb9c
)
Removed unused function
author
Taras Chornyi
<tarasx.chornyi@intel.com>
Tue, 21 Feb 2017 17:54:21 +0000
(19:54 +0200)
committer
Taras Chornyi
<tarasx.chornyi@intel.com>
Tue, 21 Feb 2017 17:54:21 +0000
(19:54 +0200)
Signed-off-by: Taras Chornyi <tarasx.chornyi@intel.com>
src/ovs_stats.c
patch
|
blob
|
history
diff --git
a/src/ovs_stats.c
b/src/ovs_stats.c
index
0638044
..
77dc1f2
100644
(file)
--- a/
src/ovs_stats.c
+++ b/
src/ovs_stats.c
@@
-171,13
+171,6
@@
static const iface_counter ovs_stats_counter_name_to_type(const char *counter) {
return index;
}
-static const char *ovs_stats_counter_name_from_type(iface_counter type) {
- if (type <= IFACE_COUNTER_MAX)
- return iface_counter_table[type];
-
- return NULL;
-}
-
static void ovs_stats_submit_one(const char *dev, const char *type,
const char *type_instance, derive_t value,
meta_data_t *meta) {