From nobody Wed May 1 17:25:30 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=1635323682; cv=none; d=zohomail.com; s=zohoarc; b=XVIb9m/ZQ7IZFypRB5VrHlRBmEfMwBBDcehz69ujnSs11aHPwED49NIhRlWsCPXR7X80/RBaMNaKkqXQLU0uOr/kYVXNxXMC4Zib250/hBb/HZ+gM9hNo1oWcDvHuo7FglaqVuQP+kFGYfVl+jmL5ktdGRYPFzQD0xC/NMSG/Sk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1635323682; 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=QWquCdD/WrC14X4hipi7on3x8Bg91BtJ17zFdGY97jM=; b=bxdwoFkfeR1FycYnSsMPFgaCTsKHl4oNvuMZXhe3Eba32MQtVA5VoNRzv8t5ioPQZWpcHtZpoPvw+Q6arDBji4iU4KclPFHVKPtAg8e/bRZI5eudorcnlBbD5TtxKvEtH8q7cVDQ0CzN8vnbpmaxuhe9AiErheRHiL+lTFo94ec= 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 1635323682570290.90253062315423; Wed, 27 Oct 2021 01:34:42 -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-28-cX1hAcEYOGGxlfQASHtIQQ-1; Wed, 27 Oct 2021 04:34:40 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 3511C18D6A3A; Wed, 27 Oct 2021 08:34:33 +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 C3A545BAE0; Wed, 27 Oct 2021 08:34:32 +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 D768B1800FDD; Wed, 27 Oct 2021 08:34:29 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 19R8YRQh023949 for ; Wed, 27 Oct 2021 04:34:27 -0400 Received: by smtp.corp.redhat.com (Postfix) id 5C36877E26; Wed, 27 Oct 2021 08:34:27 +0000 (UTC) Received: from fedora.redhat.com (unknown [10.43.2.78]) by smtp.corp.redhat.com (Postfix) with ESMTP id C1CBC7621D for ; Wed, 27 Oct 2021 08:34:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1635323681; 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=QWquCdD/WrC14X4hipi7on3x8Bg91BtJ17zFdGY97jM=; b=QcqHNUnEQ92Aa2EuN9PfTCuUkLtOvhYh6gUdB+Ybs9yJxsGKa4+QdJiLEAT0NnF7E+nYll bYsDgIxQGvufwJUD72wscyMXvsXDgiflQssgtR7MUUS3ELEqAsZE158z1a9k+O4ZejK2a4 dsNBScZqs70DWG7wYF+s6r6Wpc1R+o4= X-MC-Unique: cX1hAcEYOGGxlfQASHtIQQ-1 From: Kristina Hanicova To: libvir-list@redhat.com Subject: [PATCH] qemu_agent: remove unused code Date: Wed, 27 Oct 2021 10:34:02 +0200 Message-Id: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 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.13 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: 1635323684443100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Kristina Hanicova Reviewed-by: J=C3=A1n Tomko --- src/qemu/qemu_agent.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/qemu/qemu_agent.c b/src/qemu/qemu_agent.c index 5f421be6f6..f7feadd5eb 100644 --- a/src/qemu/qemu_agent.c +++ b/src/qemu/qemu_agent.c @@ -237,17 +237,6 @@ qemuAgentIOProcessEvent(qemuAgent *agent, return -1; } =20 -/* - for (i =3D 0; i < G_N_ELEMENTS(eventHandlers); i++) { - if (STREQ(eventHandlers[i].type, type)) { - virJSONValue *data =3D virJSONValueObjectGet(obj, "data"); - VIR_DEBUG("handle %s handler=3D%p data=3D%p", type, - eventHandlers[i].handler, data); - (eventHandlers[i].handler)(agent, data); - break; - } - } -*/ return 0; } =20 --=20 2.31.1