From nobody Tue Feb 10 09:24:20 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 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=1618004131; cv=none; d=zohomail.com; s=zohoarc; b=jNedG1O92Q/ufepSInW3Wq/JwlGEgNlAynN1kYjt2kJRwtnRzgLUow3B2JJmknJBla+52pYfcThU0CxydUblZ+uabEdfDFTN0ZlNXIYUXY4YGLi5cxPXUqfgjmws0oPpgMn2IKI6GEumPm7voiKHxvsJ/S7F1SNPGZph3w7Cxmk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1618004131; h=Content-Type:Content-Transfer-Encoding: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=Oob5Kvk/WvvN2HloE1Tn1rbsmekKuKnmBUbOdBBqi4s=; b=Z8ioJJS2F2ZQ2czVu4vlNBQASHniG0yJq6rIb5th03Gyf6u8/561Ndk7Sc1kDnsKNCXzxJgya9CTn/CiN0dwwmeh3/O1zzHxQcar87RHVdnS8+155GJpHS/UE5802BbI0NvmmoJ1e5sero0+lVCbLJ6y1bX6tebQoHrnwrCSXkY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 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-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1618004131217412.6360462232335; Fri, 9 Apr 2021 14:35:31 -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-229-WTc8LEz1PPWweCvaul3n3A-1; Fri, 09 Apr 2021 17:33:43 -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 0842C1922969; Fri, 9 Apr 2021 21:33:37 +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 D799629151; Fri, 9 Apr 2021 21:33:36 +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 9B2061806D1C; Fri, 9 Apr 2021 21:33:36 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 139LXFjH032668 for ; Fri, 9 Apr 2021 17:33:15 -0400 Received: by smtp.corp.redhat.com (Postfix) id 5841E5D6AD; Fri, 9 Apr 2021 21:33:15 +0000 (UTC) Received: from himantopus.redhat.com (ovpn-113-25.phx2.redhat.com [10.3.113.25]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2A8635D6A1 for ; Fri, 9 Apr 2021 21:33:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1618004130; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=Oob5Kvk/WvvN2HloE1Tn1rbsmekKuKnmBUbOdBBqi4s=; b=UK0Rf/DYmK3g3AMjuKKaAI+/YTNr0pCQkXaPzBWNfwnQnUZEp9MoNdJ3BR2+IbnU9pY3z/ xguSG4wxjYHb0r/KAv+XqiZI2vXfZ6ajLNo0xzCEOp3mPIBuK0QnQz6Bk7QI6W5gbCzPQt XqLTkDb+EuPa3dpSSpGBwj3YSqsCWoA= X-MC-Unique: WTc8LEz1PPWweCvaul3n3A-1 From: Jonathon Jongsma To: libvir-list@redhat.com Subject: [libvirt PATCH 11/11] tests: nodedev: remove unused variable Date: Fri, 9 Apr 2021 16:33:06 -0500 Message-Id: <20210409213306.3971286-12-jjongsma@redhat.com> In-Reply-To: <20210409213306.3971286-1-jjongsma@redhat.com> References: <20210409213306.3971286-1-jjongsma@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com 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 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" This variable was leftover from previous changes but is no longer used. Signed-off-by: Jonathon Jongsma --- tests/nodedevmdevctltest.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/nodedevmdevctltest.c b/tests/nodedevmdevctltest.c index 3a53254195..b2507e1567 100644 --- a/tests/nodedevmdevctltest.c +++ b/tests/nodedevmdevctltest.c @@ -57,7 +57,6 @@ testMdevctlCmd(virMdevctlCommand cmd_type, const char *jsonfile) { g_autoptr(virNodeDeviceDef) def =3D NULL; - virNodeDeviceObjPtr obj =3D NULL; g_auto(virBuffer) buf =3D VIR_BUFFER_INITIALIZER; const char *actualCmdline =3D NULL; int ret =3D -1; @@ -113,7 +112,6 @@ testMdevctlCmd(virMdevctlCommand cmd_type, =20 cleanup: virCommandSetDryRun(NULL, NULL, NULL); - virNodeDeviceObjEndAPI(&obj); return ret; } =20 --=20 2.26.3