From patchwork Tue Jun 24 16:09:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 32441 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f198.google.com (mail-ob0-f198.google.com [209.85.214.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4379F201EF for ; Tue, 24 Jun 2014 16:34:57 +0000 (UTC) Received: by mail-ob0-f198.google.com with SMTP id uy5sf2750216obc.5 for ; Tue, 24 Jun 2014 09:34:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=l93zie2gz+J3HrisDLuoBh9cLx0Eyn6vk6/6tqTUyI0=; b=GGmKEHJqWUXZw7eiCkQ3jPJqG7vBIkO3ipVBup635KsbsUHT8XO2Htppf2OREntrgK nuDkKA5fxu5Ue8zzrEgrXMntuwVCuAA3XPp96GFkynYsdeDWlia5P3bNc/Z2/tW1t1lS 4gXKSkLd0FyAGtBxfFmLv/gb/uZxRmwarVC0YsopW4QtTM1c5eJvBh7QkyoldYyJjFc/ NRpjSDn4kdIRrSKrQCEtZPYX+NYtZVwZiwOp7y2pt9IZfKn5FMPbLWi4Enqq3iLSIf/y SfTRfLeh+bqq3AsZeUSl9qcu7iilSsoZamAdkXklNsF17NuICBGqCxT+wXtKCpqdGEpC 20zA== X-Gm-Message-State: ALoCoQkMepkdXtIw67+vu9xqZOR1yTf2tGUB5BU3UHWlGu1g+ge9XmmPy2cl6M2Oyncbw6w5Nkxn X-Received: by 10.182.130.169 with SMTP id of9mr981220obb.27.1403627696887; Tue, 24 Jun 2014 09:34:56 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.105.54 with SMTP id b51ls2530118qgf.48.gmail; Tue, 24 Jun 2014 09:34:56 -0700 (PDT) X-Received: by 10.58.152.194 with SMTP id va2mr1754067veb.54.1403627696766; Tue, 24 Jun 2014 09:34:56 -0700 (PDT) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx.google.com with ESMTPS id fd4si540560vec.17.2014.06.24.09.34.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 24 Jun 2014 09:34:56 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.182 as permitted sender) client-ip=209.85.220.182; Received: by mail-vc0-f182.google.com with SMTP id il7so600852vcb.27 for ; Tue, 24 Jun 2014 09:34:56 -0700 (PDT) X-Received: by 10.52.170.236 with SMTP id ap12mr1191892vdc.79.1403627696664; Tue, 24 Jun 2014 09:34:56 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp224896vcb; Tue, 24 Jun 2014 09:34:56 -0700 (PDT) X-Received: by 10.140.90.69 with SMTP id w63mr3371539qgd.52.1403627696208; Tue, 24 Jun 2014 09:34:56 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id i4si1048646qge.31.2014.06.24.09.34.56 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 24 Jun 2014 09:34:56 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:60927 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzTgN-0003Rz-KT for patch@linaro.org; Tue, 24 Jun 2014 12:34:55 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59957) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzTfp-00033l-PR for qemu-devel@nongnu.org; Tue, 24 Jun 2014 12:34:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzTfk-0000P2-Rg for qemu-devel@nongnu.org; Tue, 24 Jun 2014 12:34:21 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:51290) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzTfk-0000Ot-LA; Tue, 24 Jun 2014 12:34:16 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 0B9F74407E; Tue, 24 Jun 2014 20:34:16 +0400 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id 1A6896B5; Tue, 24 Jun 2014 20:09:23 +0400 (MSK) Received: (nullmailer pid 15632 invoked by uid 1000); Tue, 24 Jun 2014 16:09:21 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Date: Tue, 24 Jun 2014 20:09:17 +0400 Message-Id: <1403626160-15546-12-git-send-email-mjt@msgid.tls.msk.ru> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1403626160-15546-1-git-send-email-mjt@msgid.tls.msk.ru> References: <1403626160-15546-1-git-send-email-mjt@msgid.tls.msk.ru> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 86.62.121.231 Cc: qemu-trivial@nongnu.org, Peter Maydell , Michael Tokarev Subject: [Qemu-devel] [PULL 11/14] hw/moxie/moxiesim.c: Remove unused moxie_intc_create() 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mjt@tls.msk.ru X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.182 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Peter Maydell The function moxie_intc_create() is unused; remove it. Signed-off-by: Peter Maydell Signed-off-by: Michael Tokarev --- hw/moxie/moxiesim.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/hw/moxie/moxiesim.c b/hw/moxie/moxiesim.c index f4357cf..430f841 100644 --- a/hw/moxie/moxiesim.c +++ b/hw/moxie/moxiesim.c @@ -94,19 +94,6 @@ static void main_cpu_reset(void *opaque) cpu_reset(CPU(cpu)); } -static inline DeviceState * -moxie_intc_create(hwaddr base, qemu_irq irq, int kind_of_intr) -{ - DeviceState *dev; - - dev = qdev_create(NULL, "moxie,intc"); - qdev_prop_set_uint32(dev, "kind-of-intr", kind_of_intr); - qdev_init_nofail(dev); - sysbus_mmio_map(SYS_BUS_DEVICE(dev), 0, base); - sysbus_connect_irq(SYS_BUS_DEVICE(dev), 0, irq); - return dev; -} - static void moxiesim_init(MachineState *machine) { MoxieCPU *cpu = NULL;