summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2020-02-18 10:44:01 +0100
committerLaurent Vivier <laurent@vivier.eu>2020-02-18 20:20:49 +0100
commit58bcdda915a60978be3d9856c6120c3573c8f588 (patch)
treeb249ea7790a32ba335fb375e5338146f0674be87
parent7c98f0f8c327d1de7f18cafba12755c16d8eeea2 (diff)
downloadfocaccia-qemu-58bcdda915a60978be3d9856c6120c3573c8f588.tar.gz
focaccia-qemu-58bcdda915a60978be3d9856c6120c3573c8f588.zip
tests/qtest/libqos/qgraph: Remove superfluous semicolons
Fixes: fc281c80202
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20200218094402.26625-13-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to '')
-rw-r--r--tests/qtest/libqos/qgraph.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qtest/libqos/qgraph.c b/tests/qtest/libqos/qgraph.c
index 7a7ae2a19e..ca01de0743 100644
--- a/tests/qtest/libqos/qgraph.c
+++ b/tests/qtest/libqos/qgraph.c
@@ -474,7 +474,7 @@ QOSEdgeType qos_graph_edge_get_type(QOSGraphEdge *edge)
     if (!edge) {
         return -1;
     }
-    return edge->type;;
+    return edge->type;
 }
 
 char *qos_graph_edge_get_dest(QOSGraphEdge *edge)
@@ -590,7 +590,7 @@ void qos_add_test(const char *name, const char *interface,
                   QOSTestFunc test_func, QOSGraphTestOptions *opts)
 {
     QOSGraphNode *node;
-    char *test_name = g_strdup_printf("%s-tests/%s", interface, name);;
+    char *test_name = g_strdup_printf("%s-tests/%s", interface, name);
     QOSGraphTestOptions def_opts = { };
 
     if (!opts) {