Message ID | 20200218094402.26625-4-philmd@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | trivial: Detect and remove superfluous semicolons in C code | expand |
* Philippe Mathieu-Daudé (philmd@redhat.com) wrote: > Fixes: 132ada80c4a > Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> > --- > block.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/block.c b/block.c > index 9c810534d6..9db0b973fe 100644 > --- a/block.c > +++ b/block.c > @@ -2435,13 +2435,13 @@ BdrvChild *bdrv_root_attach_child(BlockDriverState *child_bs, > if (bdrv_get_aio_context(child_bs) != ctx) { > ret = bdrv_try_set_aio_context(child_bs, ctx, &local_err); > if (ret < 0 && child_role->can_set_aio_ctx) { > - GSList *ignore = g_slist_prepend(NULL, child);; > + GSList *ignore = g_slist_prepend(NULL, child); > ctx = bdrv_get_aio_context(child_bs); > if (child_role->can_set_aio_ctx(child, ctx, &ignore, NULL)) { > error_free(local_err); > ret = 0; > g_slist_free(ignore); > - ignore = g_slist_prepend(NULL, child);; > + ignore = g_slist_prepend(NULL, child); > child_role->set_aio_ctx(child, ctx, &ignore); > } > g_slist_free(ignore); > -- > 2.21.1 > -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
Philippe Mathieu-Daudé <philmd@redhat.com> wrote: > Fixes: 132ada80c4a > Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com>
diff --git a/block.c b/block.c index 9c810534d6..9db0b973fe 100644 --- a/block.c +++ b/block.c @@ -2435,13 +2435,13 @@ BdrvChild *bdrv_root_attach_child(BlockDriverState *child_bs, if (bdrv_get_aio_context(child_bs) != ctx) { ret = bdrv_try_set_aio_context(child_bs, ctx, &local_err); if (ret < 0 && child_role->can_set_aio_ctx) { - GSList *ignore = g_slist_prepend(NULL, child);; + GSList *ignore = g_slist_prepend(NULL, child); ctx = bdrv_get_aio_context(child_bs); if (child_role->can_set_aio_ctx(child, ctx, &ignore, NULL)) { error_free(local_err); ret = 0; g_slist_free(ignore); - ignore = g_slist_prepend(NULL, child);; + ignore = g_slist_prepend(NULL, child); child_role->set_aio_ctx(child, ctx, &ignore); } g_slist_free(ignore);
Fixes: 132ada80c4a Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> --- block.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)