Removed unused function
authorTaras Chornyi <tarasx.chornyi@intel.com>
Tue, 21 Feb 2017 17:54:21 +0000 (19:54 +0200)
committerTaras 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

index 0638044..77dc1f2 100644 (file)
@@ -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) {