From nobody Tue Oct 28 01:56:34 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1516109092362428.218723810577; Tue, 16 Jan 2018 05:24:52 -0800 (PST) Received: from localhost ([::1]:35862 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ebREN-0001LT-VQ for importer@patchew.org; Tue, 16 Jan 2018 08:24:48 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ebR6d-0003QX-DN for qemu-devel@nongnu.org; Tue, 16 Jan 2018 08:16:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ebR6X-0007dU-S3 for qemu-devel@nongnu.org; Tue, 16 Jan 2018 08:16:47 -0500 Received: from mail-qt0-x243.google.com ([2607:f8b0:400d:c0d::243]:39546) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ebR6X-0007co-Oh for qemu-devel@nongnu.org; Tue, 16 Jan 2018 08:16:41 -0500 Received: by mail-qt0-x243.google.com with SMTP id k19so18149307qtj.6 for ; Tue, 16 Jan 2018 05:16:41 -0800 (PST) Received: from x1.local ([138.117.48.219]) by smtp.gmail.com with ESMTPSA id k29sm1436180qtc.87.2018.01.16.05.16.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Jan 2018 05:16:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=D4+uJQiRh78QwDaOoLwyrDQQRWb3MUwec1YDa19M/WM=; b=q4UUowvY1GSpEdVul5BZuxNGkaD5Mg1XpnH8anQfiJAjNYIjETfpU8d393zSBS2TVV dsnNyISu21m3hmJdlGjPmpn5GgXEgMF6vWvFutXofU3WUQPacBJtrrtA8pUKB+/AlaOF GPjfUta+uBvY++JzZ3c5nDONQ7bAs+Hkv8yFitMnAKo/hM5FzFnlICh3JFbc7oMpKmFI 1LUctDPaeqRm+RmScC84P9olS6cY1TM5CV4es2W+nq7S/bami0vl+ggHG/oXceNnQRsU aTabYFn4hnMmPaI04++XT1YwbJarMZ+sXqWVkbQFZnWMf+FNOxOe5NS+TVqb28LMa8M4 b+Rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=D4+uJQiRh78QwDaOoLwyrDQQRWb3MUwec1YDa19M/WM=; b=MFLXiRUYFbpna+lI0g5OofZwE0YOvFsYE/o5rB8jd3FxOJj+zAgd7XXwF39U5LjPby xio0F5/GUFDaIWEh72S5UyIflmw2HoJUxx6W8H2z9tz0J+0aIK6GtEuTuImftyqqPKDe gZWgZLN/iSRudPunXrhPm92MRYL2HLZaeoMqUqvLL+3vE2KvhSsZ45PQI+6FeHR2L7Ah YclLh+P9MdbJF5Gf2KjlScvwe6F4zi4M855wCiAB1ruA+495dClPwUFCZM6Thjzf0Jxc IZXJ3/HVvGxuPijG04Wg1ow7hvi2WED8DwhARbjhjVygBUY95qmmglSpQ+XOIFXH10T6 LZpw== X-Gm-Message-State: AKwxyte/pVD5oPlBgGEcQE2wsVw0zZo99EqEee956/zccyWukJrhUWXw 9wO2H8Ief2s4Yrnj268wbIU= X-Google-Smtp-Source: ACJfBosWZQ2N9OVRE9x9lMwGd4yOsT+LBLe+q804AZKRTxU8+zrLU5e+wPGzCz7O4ycDTUF4wek1iw== X-Received: by 10.200.61.90 with SMTP id u26mr7579648qtf.168.1516108601411; Tue, 16 Jan 2018 05:16:41 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: Eduardo Habkost , Markus Armbruster , Peter Maydell , Paolo Bonzini , Eric Blake , Marcel Apfelbaum Date: Tue, 16 Jan 2018 10:15:52 -0300 Message-Id: <20180116131555.14242-9-f4bug@amsat.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180116131555.14242-1-f4bug@amsat.org> References: <20180116131555.14242-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::243 Subject: [Qemu-devel] [PATCH 08/11] qdev: remove DeviceClass::init 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: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 it has no more users. Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- include/hw/qdev-core.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/hw/qdev-core.h b/include/hw/qdev-core.h index 0a71bf83f0..de063b232f 100644 --- a/include/hw/qdev-core.h +++ b/include/hw/qdev-core.h @@ -30,7 +30,6 @@ typedef enum DeviceCategory { DEVICE_CATEGORY_MAX } DeviceCategory; =20 -typedef int (*qdev_initfn)(DeviceState *dev); typedef int (*qdev_event)(DeviceState *dev); typedef void (*qdev_resetfn)(DeviceState *dev); typedef void (*DeviceRealize)(DeviceState *dev, Error **errp); @@ -125,7 +124,6 @@ typedef struct DeviceClass { const struct VMStateDescription *vmsd; =20 /* Private to qdev / bus. */ - qdev_initfn init; /* TODO remove, once users are converted to realize = */ qdev_event exit; /* TODO remove, once users are converted to unrealize= */ const char *bus_type; } DeviceClass; --=20 2.15.1