From nobody Mon Feb 9 08:28:07 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) client-ip=205.139.110.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1578347925; cv=none; d=zohomail.com; s=zohoarc; b=Frv+DUY/mm/re5z6WbLPTIfuI14LWXLCPsyvVA+IW67PeIoRDpfSRjIDfW2KrpZ2o11jPc1bpSnkb3PqxdminKTdpzcjSP2nkjrfALdaUt72msgV8xT/TuRK8kFHdiJ33j+WsLfdjrmleTSjeD1zEVIsplTbJJJCXRTPNYARCy0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578347925; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=fa6VOjNcc2guWZ3X4n0ADFUvXkJXY4g2xDgePZkiHpI=; b=RHl+1BJEpudGpEsp8IwG/qXA1C1N//fGrq26ZUAQCU5a9vZVf6XzwKt1JcjsQ88yGslcI35lz6YIb71LlhTkptBI+UunT7SdSeW83o6NP+6tuRBMg+NIlfjqIHgQu7O6VbUbnuBuOAOTB3Q0XqFvODEecGl7W4T2o9z2r95sjjU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by mx.zohomail.com with SMTPS id 1578347925065865.9181427043361; Mon, 6 Jan 2020 13:58:45 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-136-FMQRBQCEMROou2DURcl5Sw-1; Mon, 06 Jan 2020 16:58:42 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6D458DBE8; Mon, 6 Jan 2020 21:58:35 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 44ACD1084194; Mon, 6 Jan 2020 21:58:35 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 05E1F180887A; Mon, 6 Jan 2020 21:58:35 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 006LwMHc007290 for ; Mon, 6 Jan 2020 16:58:22 -0500 Received: by smtp.corp.redhat.com (Postfix) id B56E22166B2A; Mon, 6 Jan 2020 21:58:22 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast05.extmail.prod.ext.rdu2.redhat.com [10.11.55.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B11C12166B29 for ; Mon, 6 Jan 2020 21:58:20 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 90807801E9D for ; Mon, 6 Jan 2020 21:58:20 +0000 (UTC) Received: from mail-qt1-f178.google.com (mail-qt1-f178.google.com [209.85.160.178]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-225-vD8kryCwPgSuwdV9AQvgKA-1; Mon, 06 Jan 2020 16:58:18 -0500 Received: by mail-qt1-f178.google.com with SMTP id e12so43746057qto.2 for ; Mon, 06 Jan 2020 13:58:18 -0800 (PST) Received: from rekt.ibmuc.com ([2804:431:c7c6:655b:9e1c:e865:3705:e1df]) by smtp.gmail.com with ESMTPSA id x34sm23898440qtd.20.2020.01.06.13.58.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2020 13:58:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578347924; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=fa6VOjNcc2guWZ3X4n0ADFUvXkJXY4g2xDgePZkiHpI=; b=TDAdJ5rG2sd+roOFCl06Z4h3FNMay663s/y+0s2yiH0yFM2049nFXGMsNJhTg9lD8sS5jB DAXE9ya9a4flJEbDG24EVTmjIqTwjEt0YOBz0R5ZIOS/iQO7LU70JN13q4tfFBBNy6qm38 cw/zMv0zL0oSjL/fHs76pJ05b9k4dEs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QjGP6omqH6dtQL/UcEfdFwZm6+7u7PM/CSLbuI4GW9s=; b=QGUiEo3QbQ5tuuqr1I78L6/oLNJVoz8dI9cXKrvEHa1c/gOLroTIbNaOZmD+bTNxTS zwqI1LL1JtlRisPkSpWZ3+1cELvHHN2fNMQNvZ1RW0ZEzcI5trLgiyLB2yPgc7mTfcNb eEsQ5hACxKft+q8QE7WPmOw2pzw3yQpQoWtwm2j/c0/to1PO/MP2I/Po9uR25v1o5/Iu j/s4lhUl5Ed1/YwA0oETY7EQod6IRYmRAUfIOwcESDy8JgWWUR8n53pb2jtQ0GHtuUiQ 0IluZKQo1TYmFQMJhaH3RQ5z5zZyVMRZ1rzuTpnUL2P2d7BL6sLIof4Zc7iTOGNAT42A XxQg== X-Gm-Message-State: APjAAAWox+Ma4udeC2jQlnJQkQZpVZjOj6J1psuGF8qWe4q8dKfwcE/k NRgiKuiwAs9Luqx99VASuMDTQmuD X-Google-Smtp-Source: APXvYqwn2IeFHZnfYkC/ORUM4AQcul3+2eqmPMkjdFSQy5Tp1m8yq5uiE1aLNppQfkhvDtCZ3xVgYA== X-Received: by 2002:ac8:958:: with SMTP id z24mr77889144qth.40.1578347898292; Mon, 06 Jan 2020 13:58:18 -0800 (PST) From: Daniel Henrique Barboza To: libvir-list@redhat.com Date: Mon, 6 Jan 2020 18:57:38 -0300 Message-Id: <20200106215750.361615-15-danielhb413@gmail.com> In-Reply-To: <20200106215750.361615-1-danielhb413@gmail.com> References: <20200106215750.361615-1-danielhb413@gmail.com> MIME-Version: 1.0 X-MC-Unique: vD8kryCwPgSuwdV9AQvgKA-1 X-MC-Unique: FMQRBQCEMROou2DURcl5Sw-1 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-MIME-Autoconverted: from quoted-printable to 8bit by lists01.pubmisc.prod.ext.phx2.redhat.com id 006LwMHc007290 X-loop: libvir-list@redhat.com Cc: Daniel Henrique Barboza Subject: [libvirt] [PATCH v1 14/26] secret/secret_driver.c: remove unneeded label X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Signed-off-by: Daniel Henrique Barboza --- src/secret/secret_driver.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/secret/secret_driver.c b/src/secret/secret_driver.c index 096672f114..5a93c3af82 100644 --- a/src/secret/secret_driver.c +++ b/src/secret/secret_driver.c @@ -591,13 +591,13 @@ secretConnectSecretEventRegisterAny(virConnectPtr con= n, int callbackID =3D -1; =20 if (virConnectSecretEventRegisterAnyEnsureACL(conn) < 0) - goto cleanup; + return -1; =20 if (virSecretEventStateRegisterID(conn, driver->secretEventState, secret, eventID, callback, opaque, freecb, &callbackID) < 0) - callbackID =3D -1; - cleanup: + return -1; + return callbackID; } =20 --=20 2.24.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list