From nobody Mon May 6 02:54:37 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1571737119; cv=none; d=zoho.com; s=zohoarc; b=j8kh9FbJLum6vmRfc3oquYyuW2JZBpL0MhlOOnbCr672Xq/E4Y9IyHqkJGolOrxURRq8S+Z9M0j2RbOAij2TKsdrvKS7MDw3VOx8dHTHLJezczO+IeREL6JagrKjvxjdqZTkviJdGDHmDK5/R+lQ5d6FEcmTHSiLDG+qbRqAQjM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1571737119; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=urVmhK60B6IOO5CXcjkth2aTT1/ioBQH2W+rz0ZAX+o=; b=i4H2sioUNot3Q/SuEyfAkoPhkt9mg/2s8/ClyxgrusnpyifxGWNtXxZxNz4oMKLBC//Rhue+kRqIxyhSkOa1UD553suznBAWxDJxHwlM7DF4peLMFXJnCL52Au+RNVVZoBNEhFBRCiQlo/WlI23820D9olZM0ohy3o5oMqR0Z5Q= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 1571737119741160.10653181107375; Tue, 22 Oct 2019 02:38:39 -0700 (PDT) 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-258-oevOzzoaPOqz3NIQID95Cg-1; Tue, 22 Oct 2019 05:38:31 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 128B3107AD31; Tue, 22 Oct 2019 09:38:27 +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 B47E16C060; Tue, 22 Oct 2019 09:38:26 +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 1EC6F181A83A; Tue, 22 Oct 2019 09:38:26 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x9M6sF93004108 for ; Tue, 22 Oct 2019 02:54:15 -0400 Received: by smtp.corp.redhat.com (Postfix) id 8608660A9F; Tue, 22 Oct 2019 06:54:15 +0000 (UTC) Received: from moe.redhat.com (unknown [10.43.2.30]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0F52B60610 for ; Tue, 22 Oct 2019 06:54:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1571737118; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=urVmhK60B6IOO5CXcjkth2aTT1/ioBQH2W+rz0ZAX+o=; b=RcDTX2QEoADqXOnXIy/wSwxH1hlx3VL6gVuJakDj9vGPGuWqPgqW9IQtTm3Q2vVCeJ2ZNT Ftd1jONb5KGu53v6mtf9Jw2CydNUsb0q5zYufUcFwmgbhV8KqKVoSlnRK1zR7W3GO8eN49 0HphOykxPnY0BqZ/ac4c99qLYAw3wnQ= From: Michal Privoznik To: libvir-list@redhat.com Date: Tue, 22 Oct 2019 08:54:10 +0200 Message-Id: <3357500af2752a974093a5ea5c00e43e1d2b8b34.1571727231.git.mprivozn@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH] bhyve_conf: Drop unused 'error' label in virBhyveDriverConfigNew() 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.79 on 10.5.11.14 X-MC-Unique: oevOzzoaPOqz3NIQID95Cg-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" There's unused 'error' label left after transition from VIR_STRDUP() to g_strdup (v5.8.0-255-g652cdbe364). Signed-off-by: Michal Privoznik --- Pushed under trivial & build breaker rules. src/bhyve/bhyve_conf.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/bhyve/bhyve_conf.c b/src/bhyve/bhyve_conf.c index ab5d7f467b..f3e2ebf7c7 100644 --- a/src/bhyve/bhyve_conf.c +++ b/src/bhyve/bhyve_conf.c @@ -59,10 +59,6 @@ virBhyveDriverConfigNew(void) cfg->firmwareDir =3D g_strdup(DATADIR "/uefi-firmware"); =20 return cfg; - - error: - virObjectUnref(cfg); - return NULL; } =20 int --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list