From: Pavel Rochnyack Date: Mon, 3 Dec 2018 06:45:16 +0000 (+0700) Subject: ovs_stats: Removed unused variable X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=962dd3d9e7825ca4af34941aa9596219cdc7ae4a;p=collectd.git ovs_stats: Removed unused variable --- diff --git a/src/ovs_stats.c b/src/ovs_stats.c index a75229c3..28e46d91 100644 --- a/src/ovs_stats.c +++ b/src/ovs_stats.c @@ -80,7 +80,6 @@ typedef enum iface_counter { typedef struct interface_s { char name[PORT_NAME_SIZE_MAX]; /* Interface name */ - char port_uuid[UUID_SIZE]; /* Port table _uuid */ char iface_uuid[UUID_SIZE]; /* Interface table uuid */ char ex_iface_id[UUID_SIZE]; /* External iface id */ char ex_vm_id[UUID_SIZE]; /* External vm id */ @@ -489,7 +488,6 @@ static interface_list_t *ovs_stats_new_port_interface(port_list_t *port, } memset(iface->stats, -1, sizeof(int64_t[IFACE_COUNTER_COUNT])); sstrncpy(iface->iface_uuid, uuid, sizeof(iface->iface_uuid)); - sstrncpy(iface->port_uuid, port->port_uuid, sizeof(iface->port_uuid)); pthread_mutex_lock(&g_stats_lock); interface_list_t *iface_head = port->iface; iface->next = iface_head;