From nobody Mon Feb 9 15:10:32 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.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 170.10.133.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=1662724721; cv=none; d=zohomail.com; s=zohoarc; b=GQY3mgG7Py1xcZ0VHa+gVc8xewhuO3mWPwX2+u//xLu2KY+Oy0R/cPYTMQGQAeF+MslhvVeeA39hji4fkl27taBrJqLI7AychGu2n+BagPSYmYstP5axs40a2pOdVEMNBkf0rIc1a52c7fCfU+qDl0eJRNxgm13oy/ce8PtpKGs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1662724721; 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=pKQ+AVDCDTfFpERfEst/xBs+zTnQwzRjjNJeiyKoHh4=; b=f+UQOAOeVUsdGI7pdhrnqpKXi3KXTCVuOd391KvQ4mBTNAt/59/LYnZfSqn1uDpun8LTUa6ziWJC5POTU6GbTDKpfno7WI3XKVLzblmuHvE3j9lRyvSbUjEROtBukuQHaqdb0l9IW8TppunG0g68iHRxcjEftUJXnpUsY5+m4YQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1662724720990784.8170364176361; Fri, 9 Sep 2022 04:58:40 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-654-kxccC15nMyu0KQTOhE6how-1; Fri, 09 Sep 2022 07:58:36 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4C5BA8582A8; Fri, 9 Sep 2022 11:58:29 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3475C40E7F32; Fri, 9 Sep 2022 11:58:29 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 221241946A58; Fri, 9 Sep 2022 11:58:29 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 975511946A5A for ; Fri, 9 Sep 2022 11:58:27 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 752E42166B2D; Fri, 9 Sep 2022 11:58:27 +0000 (UTC) Received: from speedmetal.lan (unknown [10.40.208.30]) by smtp.corp.redhat.com (Postfix) with ESMTP id E2D892166B26 for ; Fri, 9 Sep 2022 11:58:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1662724720; 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=pKQ+AVDCDTfFpERfEst/xBs+zTnQwzRjjNJeiyKoHh4=; b=MjGLHfML4sxf3dUIEQpYAIFnlszh7J/2ae7kfWwXxV1Vqxy8045dkhPut2pwsBC6ZZ8Cz9 of1syZHWRHvaS8mk22Bbd3qsO35FaMujY2/+FVrqKkfkdhvVIc+BXP9uwDKv026OZiY/Vu L0YDc5ZNte/5P5Q0zakMvlPCXm76oQ4= X-MC-Unique: kxccC15nMyu0KQTOhE6how-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH v2 7/9] lxc: Remove unneeded forward declaration of 'lxcStateInitialize' Date: Fri, 9 Sep 2022 13:58:17 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1662724721960100007 Content-Type: text/plain; charset="utf-8" The function is used only after the definition. Signed-off-by: Peter Krempa --- src/lxc/lxc_driver.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c index e7c6c4fbc4..f2a358805a 100644 --- a/src/lxc/lxc_driver.c +++ b/src/lxc/lxc_driver.c @@ -79,10 +79,6 @@ VIR_LOG_INIT("lxc.lxc_driver"); #define LXC_NB_DOMAIN_BLOCK_STAT_PARAM 4 -static int lxcStateInitialize(bool privileged, - const char *root, - virStateInhibitCallback callback, - void *opaque); static int lxcStateCleanup(void); virLXCDriver *lxc_driver =3D NULL; --=20 2.37.1