From patchwork Mon Mar 7 07:05:46 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: 8515751 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id CC0489F46A for ; Mon, 7 Mar 2016 07:09:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3A77B20142 for ; Mon, 7 Mar 2016 07:09:52 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id 9AA2420149 for ; Mon, 7 Mar 2016 07:09:51 +0000 (UTC) Received: from localhost ([::1]:54010 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acpIc-0006Z8-Sx for patchwork-qemu-devel@patchwork.kernel.org; Mon, 07 Mar 2016 02:09:50 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56628) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acpGc-00033e-TF for qemu-devel@nongnu.org; Mon, 07 Mar 2016 02:07:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1acpGa-0004Fo-Kj for qemu-devel@nongnu.org; Mon, 07 Mar 2016 02:07:46 -0500 Received: from m12-15.163.com ([220.181.12.15]:47931) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acpGa-0004Ae-0Q; Mon, 07 Mar 2016 02:07:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id; bh=x9AKNWBkDEMC+JVpMk s1FnzHeqYvd6IOkfNv8rwnoyg=; b=W/bk7f+4O0lj+1K0e5i9WcrAznEoWxPgQt XnZJCWbY1xpzFS+BTt61QvhkZrczhXRXUoRdUPcUTibWCIlpKxZlngYK9OeMt+tp EDz2n9u0mo8/wUD9yuykyvTzQLyU8CWu0fdMM7p9RbmbI0clvTuU2S6wcICROFfb XnScm4j8A= Received: from localhost.localdomain (unknown [101.254.142.162]) by smtp11 (Coremail) with SMTP id D8CowED5XEaRKN1WjMdtAA--.46751S7; Mon, 07 Mar 2016 15:07:07 +0800 (CST) From: xiaoqiang zhao To: qemu-devel@nongnu.org Date: Mon, 7 Mar 2016 15:05:46 +0800 Message-Id: <1457334350-5675-6-git-send-email-zxq_yx_007@163.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1457334350-5675-1-git-send-email-zxq_yx_007@163.com> References: <1457334350-5675-1-git-send-email-zxq_yx_007@163.com> X-CM-TRANSID: D8CowED5XEaRKN1WjMdtAA--.46751S7 X-Coremail-Antispam: 1Uf129KBjvdXoWruw4rGr15JFW5Jr4UZw4UCFg_yoW3urgEv3 Wayan7Xw1xCw1jk3W5Ja1Yvr15ta17Xa1kXa15Ga1IvF4xArs8Jw17ur9rZ34fuayIkry7 ta9rXF9rZ3ySgjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IU04SoPUUUUU== X-Originating-IP: [101.254.142.162] X-CM-SenderInfo: 520ts5t0bqili6rwjhhfrp/xtbBEBwlxlUL7Fyv+gAAsU X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 220.181.12.15 Cc: robh@kernel.org, qemu-arm@nongnu.org, peter.maydell@linaro.org Subject: [Qemu-devel] [PATCH 5/9] hw/arm: QOM'ify pxa2xx_pic.c X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Remove the empty 'pxa2xx_pic_initfn' and it's setup code in the 'pxa2xx_pic_class_init' Signed-off-by: xiaoqiang zhao Reviewed-by: Peter Maydell --- hw/arm/pxa2xx_pic.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/hw/arm/pxa2xx_pic.c b/hw/arm/pxa2xx_pic.c index 8a39b1c..9e08c55 100644 --- a/hw/arm/pxa2xx_pic.c +++ b/hw/arm/pxa2xx_pic.c @@ -308,17 +308,10 @@ static VMStateDescription vmstate_pxa2xx_pic_regs = { }, }; -static int pxa2xx_pic_initfn(SysBusDevice *dev) -{ - return 0; -} - static void pxa2xx_pic_class_init(ObjectClass *klass, void *data) { DeviceClass *dc = DEVICE_CLASS(klass); - SysBusDeviceClass *k = SYS_BUS_DEVICE_CLASS(klass); - k->init = pxa2xx_pic_initfn; dc->desc = "PXA2xx PIC"; dc->vmsd = &vmstate_pxa2xx_pic_regs; }