From nobody Fri May 3 18:39:59 2024 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=1635511112; cv=none; d=zohomail.com; s=zohoarc; b=W6jb047ySC/vf24NEihsJByhe+38tY2JoFA0TKs42y0MhqX8YPIurgow7Ukyqy1Ndh8JcPh61ryoo/W3a91nWcmmmKEC8PBIh4LbNDl6byW2AhkSQTDK4gLS2Yh1qFkv36m4UX00eXjUy2hwUZZ8oTrJYaBx3bRq9B/s/M/pRcM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1635511112; 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=Wg9m2WT7SEYfVoSIUsHrmT5e/qbEpheoSdIbauCIE0Y=; b=GCJcSvVg7AMffeqLrybi/lsV4fzVbevLIwiJbkTmhCZhbt8rKGLNJ4iNa5Y6EDSF9LZ3Cv7eD7Oms91VaxAbluBeIAvLeCp5sP9a75YeVWexnuCEgcEU0i2KId9FkT5w6jknwM9PxJksTySZVKM5jLKXcRjxzfZSkcSgqWjDehQ= 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 1635511112242637.19022998595; Fri, 29 Oct 2021 05:38:32 -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-576-hSqSjJw5PfOAqXqyVjEg_w-1; Fri, 29 Oct 2021 08:38:22 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0BBA31006AA2; Fri, 29 Oct 2021 12:38:17 +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 A65C16788C; Fri, 29 Oct 2021 12:38:16 +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 07B201806D03; Fri, 29 Oct 2021 12:38:16 +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 19TCbb14005593 for ; Fri, 29 Oct 2021 08:37:37 -0400 Received: by smtp.corp.redhat.com (Postfix) id EB8515F4EC; Fri, 29 Oct 2021 12:37:37 +0000 (UTC) Received: from maggie.redhat.com (unknown [10.43.2.27]) by smtp.corp.redhat.com (Postfix) with ESMTP id 73B795F4E1 for ; Fri, 29 Oct 2021 12:37:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1635511111; 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=Wg9m2WT7SEYfVoSIUsHrmT5e/qbEpheoSdIbauCIE0Y=; b=jNad9FoG91KQju5bxD0Vn4+kOqgCsuuJrAMba9Ah7I50yM2zXnQGDFXy5921gbhVXaHBTF jD/dmnxnibk8mMAUM66vQme+B423qz4yBtxqxMQHFiJXi6zDcWe0RUYlPSA32hjupV8gJT 2LO1Bmh0v6cm/vQ29fYYEFkNJhJ1+mE= X-MC-Unique: hSqSjJw5PfOAqXqyVjEg_w-1 From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH] ch_driver: Drop needless fwd declaration Date: Fri, 29 Oct 2021 14:37:28 +0200 Message-Id: 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.16 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) X-ZM-MESSAGEID: 1635511112899100001 Content-Type: text/plain; charset="utf-8" In ch_driver.c there are two forward declarations that are not needed. Drop them. Signed-off-by: Michal Privoznik Reviewed-by: J=C3=A1n Tomko --- src/ch/ch_driver.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/ch/ch_driver.c b/src/ch/ch_driver.c index 1824d2fd16..9eaf3ee499 100644 --- a/src/ch/ch_driver.c +++ b/src/ch/ch_driver.c @@ -47,11 +47,6 @@ =20 VIR_LOG_INIT("ch.ch_driver"); =20 -static int chStateInitialize(bool privileged, - const char *root, - virStateInhibitCallback callback, - void *opaque); -static int chStateCleanup(void); virCHDriver *ch_driver =3D NULL; =20 static virDomainObj * --=20 2.32.0