From patchwork Sat Dec 31 01:18:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: zhao xiao qiang X-Patchwork-Id: 9492589 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8A18C62ABC for ; Sat, 31 Dec 2016 01:33:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 776CC223B2 for ; Sat, 31 Dec 2016 01:33:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 69D4425F31; Sat, 31 Dec 2016 01:33:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 174A6223B2 for ; Sat, 31 Dec 2016 01:33:42 +0000 (UTC) Received: from localhost ([::1]:42185 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cN8YH-0004bL-7Y for patchwork-qemu-devel@patchwork.kernel.org; Fri, 30 Dec 2016 20:33:41 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54856) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cN8KJ-0001dc-LY for qemu-devel@nongnu.org; Fri, 30 Dec 2016 20:19:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cN8KI-0000OZ-TV for qemu-devel@nongnu.org; Fri, 30 Dec 2016 20:19:15 -0500 Received: from m12-14.163.com ([220.181.12.14]:46309) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cN8KI-0000O8-A4; Fri, 30 Dec 2016 20:19:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id; bh=n8vpSaSljmvsJT4pfZ RjV69YapF6fgZjtbvyir7flPE=; b=GlMMIfPTmkCDzY+bkY8ZOWMHXBLvLw/4PO 8mJHGWYDBq6DG9d8WOpjBKIzvguBX6WQu2R9V6BfUtJPL++rH4MlT80jA+8OqUNN ZibjNMCSDHjvZ4oN2n40jiAJy/v4IOW+lp11fDGOEAL0oKctpb+mE2yCSWu2JPbZ /MjmJdfSM= Received: from localhost.localdomain (unknown [223.104.3.243]) by smtp10 (Coremail) with SMTP id DsCowADHZLZoB2dYYQ6VFw--.5143S6; Sat, 31 Dec 2016 09:18:40 +0800 (CST) From: xiaoqiang zhao To: qemu-devel@nongnu.org Date: Sat, 31 Dec 2016 09:18:31 +0800 Message-Id: <20161231011831.4097-5-zxq_yx_007@163.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20161231011831.4097-1-zxq_yx_007@163.com> References: <20161231011831.4097-1-zxq_yx_007@163.com> X-CM-TRANSID: DsCowADHZLZoB2dYYQ6VFw--.5143S6 X-Coremail-Antispam: 1Uf129KBjvdXoW7Jw4xuF4DZryUWr1xXw4UXFb_yoWxuFb_Zw 43A3Z2qFnYkryFkF12yr4FyryIy3WfXrWDKrsxtFs3Jr17Aw4kZ342q3y7Jw1UCr4fCFyD G3WUA3Wvkr90kjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IU09YFtUUUUU== X-Originating-IP: [223.104.3.243] X-CM-SenderInfo: 520ts5t0bqili6rwjhhfrp/1tbiOxBRxlXlW7mfewABsL X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 220.181.12.14 Subject: [Qemu-devel] [PATCH 4/4] hw/ppc: QOM'ify spapr_vio.c 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: peter.maydell@linaro.org, qemu-ppc@nongnu.org, agraf@suse.de, david@gibson.dropbear.id.au Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Drop the old and empty SysBus init Signed-off-by: xiaoqiang zhao --- hw/ppc/spapr_vio.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/hw/ppc/spapr_vio.c b/hw/ppc/spapr_vio.c index cc1e09c568..1739b73a13 100644 --- a/hw/ppc/spapr_vio.c +++ b/hw/ppc/spapr_vio.c @@ -548,11 +548,9 @@ static int spapr_vio_bridge_init(SysBusDevice *dev) static void spapr_vio_bridge_class_init(ObjectClass *klass, void *data) { - SysBusDeviceClass *k = SYS_BUS_DEVICE_CLASS(klass); DeviceClass *dc = DEVICE_CLASS(klass); dc->fw_name = "vdevice"; - k->init = spapr_vio_bridge_init; } static const TypeInfo spapr_vio_bridge_info = {