From patchwork Tue Jun 11 19:57:05 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 250629 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from ozlabs.org (localhost [IPv6:::1]) by ozlabs.org (Postfix) with ESMTP id 141642C03CD for ; Wed, 12 Jun 2013 05:57:43 +1000 (EST) Received: from mail-ie0-x235.google.com (mail-ie0-x235.google.com [IPv6:2607:f8b0:4001:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id F1F8D2C0098 for ; Wed, 12 Jun 2013 05:57:12 +1000 (EST) Received: by mail-ie0-f181.google.com with SMTP id x12so2673929ief.12 for ; Tue, 11 Jun 2013 12:57:08 -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=wlt0M+S8zCA268sfh9Y+IfQzO32pAcLkfkIuaJoxP2Q=; b=heliaQ++ifNnVw+vYbgV2tfUrxdclUUJ7k7ccLGIlSbOFGY2GRR6bRh3EseSH8pNV1 vRTwXB4shIhG0EWx9NVg3/9lvEgM/2EQ7KWewu2JTi8Aj81K8A1ZKNGSPWynaKx2b8IH IK81ElCm5i5tlVB4Z6I2g4R7M6/UU61oFX6tueEKLVssF4DFfmVDQCCM3kYGh5k4jLjC GJDzEdQJpDq02iGdjAZx51lg9pY8qPVPNBGa92IYr6HXKL6bLJJVZkRjysgPERzVBXGz tIp/edsu+OfSTjyQqmgZw+pok1aUqk0Qk4IJ7dah/E1zsyjXcDSbas559+o7PD+J2xM+ kygw== 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=wlt0M+S8zCA268sfh9Y+IfQzO32pAcLkfkIuaJoxP2Q=; b=ebuj/o7++6gPi3pj6zAjDcp2DICjMG+PCCCb6gcD8MTEcOf9FBHivnazU+fzQVIruv 0GFG0Am8FVG0TuW+kkXAfSFfXZWTH0PXH4qFhyj/tCEwyNlUVUl+9G3v5MzAkrv2n3nW mR5Ni/8u424c8doM6rYunEebl80/AsrTwtHGEdDpgMX4DHLdL//zRFitnNzkim6EmrGD IdyM2loSCe4uFuRRXdBnrJPVrc5va35zd26b8ddlqFtLyCLATUTUrynWgfjYGxbffeRi oniLKavwpO3Jjx76V4WSssXcF2BMaVTiYOc3uq3Lx9I0UEUoLhezS0NM9PvT3GaA5UAU +OOw== X-Received: by 10.50.33.84 with SMTP id p20mr1769026igi.43.1370980628099; Tue, 11 Jun 2013 12:57:08 -0700 (PDT) Received: from localhost ([172.16.52.217]) by mx.google.com with ESMTPSA id x10sm4317494igl.3.2013.06.11.12.57.07 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 11 Jun 2013 12:57:07 -0700 (PDT) Subject: [PATCH] powerpc/iommu: Remove unused pci_iommu_init() and pci_direct_iommu_init() To: Benjamin Herrenschmidt , Paul Mackerras From: Bjorn Helgaas Date: Tue, 11 Jun 2013 13:57:05 -0600 Message-ID: <20130611195705.17794.68833.stgit@bhelgaas-glaptop> User-Agent: StGit/0.16 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQlWq+JI+hTYe7K+8IDRvffpzM5g841ThmOCXCk81ASSAoaa4Y9txiFOnnBjZ33fqYwGPdnKHitG/0sDs94G+OxQeqMN7/ZqlOhbIYhHRvqKphn4fSdk9ehTmvDgXO8cN/7cXACRsmgwuLBr0Sr/hNWOysPVNSKCk6JKUNj1SuPiN+IFnIhCcC7Jy7K4EM/jiMFV8zGAwvWUXjkU8FSGnx2bqU4mwg== Cc: linuxppc-dev@lists.ozlabs.org X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" pci_iommu_init() and pci_direct_iommu_init() are not referenced anywhere, so remove them. Signed-off-by: Bjorn Helgaas --- arch/powerpc/include/asm/iommu.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/powerpc/include/asm/iommu.h b/arch/powerpc/include/asm/iommu.h index cbfe678..e670f73 100644 --- a/arch/powerpc/include/asm/iommu.h +++ b/arch/powerpc/include/asm/iommu.h @@ -125,13 +125,6 @@ extern void iommu_init_early_pSeries(void); extern void iommu_init_early_dart(void); extern void iommu_init_early_pasemi(void); -#ifdef CONFIG_PCI -extern void pci_iommu_init(void); -extern void pci_direct_iommu_init(void); -#else -static inline void pci_iommu_init(void) { } -#endif - extern void alloc_dart_table(void); #if defined(CONFIG_PPC64) && defined(CONFIG_PM) static inline void iommu_save(void)