Code

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 06380445bfb7cbd4312138913001ae1e153a1fb7..77dc1f2eb7b0a786d9a1c42c4aa128f920ce0384 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) {