From nobody Thu May 2 18:16:58 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1555560163; cv=none; d=zoho.com; s=zohoarc; b=oHfXr6dcgdfYywIFgaMduNibBcj/urNfdmdIq+QCIwCAFpWLO2lk0FLE15YmnOOr2zHw8dGMfZf0ycUU4AUgmgFF0LYR0FIjGlqqqjtOHT65rxoY+5OYUA+j1bVmFcq2mMqUhTBOyz4imH2nwuMt5SEWzxKu6CxfsEQFWICjQXY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1555560163; h=Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:Sender:Subject:To:ARC-Authentication-Results; bh=jImOJXH/JRTNMFwxbyaG20fyX7DsUCdbgk/0QhCYZlY=; b=XtouWH1W1D61FsIIQhjKrw5kFGSiWe1IbgsteQ9Xxh6Kfj1IG2ItRS3Hbop/533s6zrUeqpgl/UWmWC56WVesjUe1eEsDqpihYNLzS+wbuAmcJgQdgcj6PrKv3yyZE79tQtR/WUSJWv3EA7MXX3HF615MlVWfP5ij8FZaD0sLw8= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1555560163270113.63165927416298; Wed, 17 Apr 2019 21:02:43 -0700 (PDT) Received: from localhost ([127.0.0.1]:35201 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hGyFu-0001WM-41 for importer@patchew.org; Thu, 18 Apr 2019 00:02:34 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hGyEd-0000wp-Kp for qemu-devel@nongnu.org; Thu, 18 Apr 2019 00:01:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hGyEc-0007lg-6M for qemu-devel@nongnu.org; Thu, 18 Apr 2019 00:01:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46386) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hGyEa-0007hh-3C for qemu-devel@nongnu.org; Thu, 18 Apr 2019 00:01:14 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 21E23307D764; Thu, 18 Apr 2019 04:01:07 +0000 (UTC) Received: from localhost (ovpn-116-9.gru2.redhat.com [10.97.116.9]) by smtp.corp.redhat.com (Postfix) with ESMTP id A48CF1001DF1; Thu, 18 Apr 2019 04:01:05 +0000 (UTC) From: Eduardo Habkost To: qemu-devel@nongnu.org Date: Thu, 18 Apr 2019 01:01:03 -0300 Message-Id: <20190418040103.15314-1-ehabkost@redhat.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.45]); Thu, 18 Apr 2019 04:01:07 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH] hppa: Delete unused hppa_cpu_list() function X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Igor Mammedov , Richard Henderson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" hppa_cpu_list() is dead code and is never called. Delete it. Cc: Richard Henderson Signed-off-by: Eduardo Habkost Reviewed-by: Igor Mammedov Reviewed-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Philippe Mathieu-Daud=C3=A9 --- target/hppa/cpu.c | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/target/hppa/cpu.c b/target/hppa/cpu.c index 00bf444620..b3b1826209 100644 --- a/target/hppa/cpu.c +++ b/target/hppa/cpu.c @@ -110,28 +110,6 @@ static void hppa_cpu_realizefn(DeviceState *dev, Error= **errp) #endif } =20 -static void hppa_cpu_list_entry(gpointer data, gpointer user_data) -{ - ObjectClass *oc =3D data; - CPUListState *s =3D user_data; - - (*s->cpu_fprintf)(s->file, " %s\n", object_class_get_name(oc)); -} - -void hppa_cpu_list(FILE *f, fprintf_function cpu_fprintf) -{ - CPUListState s =3D { - .file =3D f, - .cpu_fprintf =3D cpu_fprintf, - }; - GSList *list; - - list =3D object_class_get_list_sorted(TYPE_HPPA_CPU, false); - (*cpu_fprintf)(f, "Available CPUs:\n"); - g_slist_foreach(list, hppa_cpu_list_entry, &s); - g_slist_free(list); -} - static void hppa_cpu_initfn(Object *obj) { CPUState *cs =3D CPU(obj); --=20 2.18.0.rc1.1.g3f1ff2140