From patchwork Mon Jun 18 18:17:10 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 165571 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id B6FCFB708A for ; Tue, 19 Jun 2012 04:17:22 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750816Ab2FRSRP (ORCPT ); Mon, 18 Jun 2012 14:17:15 -0400 Received: from mail-ee0-f74.google.com ([74.125.83.74]:58434 "EHLO mail-ee0-f74.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752114Ab2FRSRM (ORCPT ); Mon, 18 Jun 2012 14:17:12 -0400 Received: by eeit10 with SMTP id t10so290733eei.1 for ; Mon, 18 Jun 2012 11:17:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:to:from:cc:date:message-id:user-agent:mime-version :content-type:content-transfer-encoding; bh=45ZwGSdi7X6nt/dW/UIC90g3cWI7YpE5+2fkQiiI6Xs=; b=pRLFIPEBpd8QSFJ5uvhyOpgsRgSeXmvM58iqNKtuJbV2etEiqebsB1kbVbAEFEE5a+ YTOeB+0BgOkGinUxeKNhBZPT+PJoG/EB5+wW+a2YoLOaSQFX1+J+y/tp4dxazVV9Ip8U +TTrA7esBtO2AX9ojRAec6DaI2YTrZMhYZHW54c9t1qmoqhiMggQSx9zs8Proyf3NOwh uGKXe5eTEM76VFY5DHT4LI/3AGdAX0F79XtH1mQ6RuUV1BbLw6hGh0teFEXRKyVpEUZr wOPQVnkOMQZ9ZyYfGPEqFS2aQZBesh9SryyZYJ5Mna8B2yClJeKKT8/dJFAbNyom6VVZ +8HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:to:from:cc:date:message-id:user-agent:mime-version :content-type:content-transfer-encoding:x-gm-message-state; bh=45ZwGSdi7X6nt/dW/UIC90g3cWI7YpE5+2fkQiiI6Xs=; b=BABuAUNdRcKeaMoRyfkgXEkJ6VFD6vhAbPu33pFT2CDkOylhXE9pywpZUwrnUzRmOi t0W0gW0Z1NNVae1ECOpi/c5fu3mJY2T/Lp7UJ0WNY06vb0PBEFfGMbvenlIdAmd3U5KE dDcIR82/2CSVQ5iNT47ah5S8GgJqEUMbqgNGKy1wqovCksnrJRzyhSENryWgxrmokdSc 5H8DCyAT6mp90ALSutKCA0h+/aS3UAPjM7SkopHB37Ju4ihoXi+xzf+f3/BaizGpb98x 5Uc7IToPOQ3e6JqILoECME4HmgeJ442veRpXTlOi4aSYNam8v4h1fA8a/aMb5isU8F9P 8W4A== Received: by 10.14.94.80 with SMTP id m56mr4801931eef.7.1340043431445; Mon, 18 Jun 2012 11:17:11 -0700 (PDT) Received: by 10.14.94.80 with SMTP id m56mr4801922eef.7.1340043431217; Mon, 18 Jun 2012 11:17:11 -0700 (PDT) Received: from hpza9.eem.corp.google.com ([74.125.121.33]) by gmr-mx.google.com with ESMTPS id v14si18390800eef.2.2012.06.18.11.17.11 (version=TLSv1/SSLv3 cipher=AES128-SHA); Mon, 18 Jun 2012 11:17:11 -0700 (PDT) Received: from bhelgaas.mtv.corp.google.com (bhelgaas.mtv.corp.google.com [172.18.96.155]) by hpza9.eem.corp.google.com (Postfix) with ESMTP id 09F515C0050; Mon, 18 Jun 2012 11:17:11 -0700 (PDT) Received: from bhelgaas.mtv.corp.google.com (unknown [IPv6:::1]) by bhelgaas.mtv.corp.google.com (Postfix) with ESMTP id 60E9F180181; Mon, 18 Jun 2012 11:17:10 -0700 (PDT) Subject: [PATCH] sparc/PCI: remove unused pcibios_assign_resource() definition To: "David S. Miller" From: Bjorn Helgaas Cc: sparclinux@vger.kernel.org, linux-pci@vger.kernel.org Date: Mon, 18 Jun 2012 12:17:10 -0600 Message-ID: <20120618181709.6135.2703.stgit@bhelgaas.mtv.corp.google.com> User-Agent: StGit/0.15 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQkOaMYKseMZ1Xqccb4Wq/+mIuSM96SUn22l1W4xCZIuH58TXxs7hdFTRQxVke6V7TULMSuMEcBo/5KvS3jbhE+qSK/1ZDyFBZiIgT8Lk7Mepep1Eaxn+xbZhxWQ7FKlvuc71/vS3sLZ5mB5n4oWwoVJfepXWg== Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org pcibios_assign_resource() isn't used anywhere; remove it. Signed-off-by: Bjorn Helgaas --- arch/sparc/kernel/pcic.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/sparc/kernel/pcic.c b/arch/sparc/kernel/pcic.c index ded3f60..46ba849 100644 --- a/arch/sparc/kernel/pcic.c +++ b/arch/sparc/kernel/pcic.c @@ -884,11 +884,6 @@ void __init sun4m_pci_init_IRQ(void) sparc_config.load_profile_irq = pcic_load_profile_irq; } -int pcibios_assign_resource(struct pci_dev *pdev, int resource) -{ - return -ENXIO; -} - /* * This probably belongs here rather than ioport.c because * we do not want this crud linked into SBus kernels.