Re: [PATCH RESEND 12/13] tests/qtest/libqos/qgraph: Remove superfluous semicolons

2020-02-18 Thread Juan Quintela
Philippe Mathieu-Daudé  wrote:
> Fixes: fc281c80202
> Signed-off-by: Philippe Mathieu-Daudé 

Reviewed-by: Juan Quintela 




Re: [PATCH RESEND 12/13] tests/qtest/libqos/qgraph: Remove superfluous semicolons

2020-02-18 Thread Dr. David Alan Gilbert
* Philippe Mathieu-Daudé (phi...@redhat.com) wrote:
> Fixes: fc281c80202
> Signed-off-by: Philippe Mathieu-Daudé 

Reviewed-by: Dr. David Alan Gilbert 

> ---
> Cc: Emanuele Giuseppe Esposito 
> ---
>  tests/qtest/libqos/qgraph.c | 4 ++--
>  1 file 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) {
> -- 
> 2.21.1
> 
--
Dr. David Alan Gilbert / dgilb...@redhat.com / Manchester, UK




[PATCH RESEND 12/13] tests/qtest/libqos/qgraph: Remove superfluous semicolons

2020-02-18 Thread Philippe Mathieu-Daudé
Fixes: fc281c80202
Signed-off-by: Philippe Mathieu-Daudé 
---
Cc: Emanuele Giuseppe Esposito 
---
 tests/qtest/libqos/qgraph.c | 4 ++--
 1 file 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) {
-- 
2.21.1