Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7081361ybi; Thu, 13 Jun 2019 09:14:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqzB2pg7RpYtqnCdX+vuT/3zzFO4sGGe4phtW5Wyn8R2KX+13Hfy4rwtvHbi1DU+LIw4fX9U X-Received: by 2002:a17:902:22:: with SMTP id 31mr85802436pla.15.1560442447984; Thu, 13 Jun 2019 09:14:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560442447; cv=none; d=google.com; s=arc-20160816; b=QqWhy/DehsblTGcfpcPBDpdpl2cJZvmaZVhSbLPxNdV1V3QIvf1Ct1r39JNZ4fNM2E JF2mLZTWBCEh9OdZo/BI12MXMNFSBjOew4zkBZpODUxdmYxfXGtmky351EJaTRmDsRqY hgtZ2RIuKDn7fOl+d/wUlitEdm9s4C4Nerk5H3TwjSkN52DJtBOONv+Xf7nKvMrFNytR kIdeyNv6KGZp/86EYejXiZ9O8tlARGPo4fUL1BYdc+x/g4PjPK7txwPMNm/k0Jc4U4sW 2EXK3d5TsEy5/wiCNSH1lNbBvvOhB7Bv8JohRyNhmtWO9Zwx5regGmcWNIWJPnU5TEKB 1+7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=ax7Ey3gfsAxYkNrQnI/cuVq85xlQrQU1PNEfIHWWgX0=; b=tTOPyV/s+pox8/UOfJNg1EhujcX+1oYLUAvK/QWlJhfIRVdKbYE/5Xhjy6F04IsfTU 0emUhwAsYmusZCAGykn7jsiHxDSJC6jsigX+aWPbgYlk7VJpW+QpCXaDa/ZXwgZSIJZL bRE79mZZglv+n9O++mrTbHtrWbNSt2xE9qv4DZPIPLi8b3awCFjpRfn7ycG5IpJFShps bqU6aX9mSEQAlvOpkHjP4M9rLqsLGv5xGzzU3HbU6HsR2bszJg0DaNN+NtXlbCrG/Rwy scraemPPh+4QimSoNdoyjNzT831GpRftJetbwXWEqR3evD934cfd02aJ6/WyT5aJvbxS QY+Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l6si85177pjq.81.2019.06.13.09.13.52; Thu, 13 Jun 2019 09:14:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732067AbfFMQMR (ORCPT + 99 others); Thu, 13 Jun 2019 12:12:17 -0400 Received: from smtp5-g21.free.fr ([212.27.42.5]:32442 "EHLO smtp5-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391625AbfFMQMO (ORCPT ); Thu, 13 Jun 2019 12:12:14 -0400 Received: from heffalump.sk2.org (unknown [88.186.243.14]) by smtp5-g21.free.fr (Postfix) with ESMTPS id 4DB325FFB9; Thu, 13 Jun 2019 18:12:12 +0200 (CEST) Received: from steve by heffalump.sk2.org with local (Exim 4.89) (envelope-from ) id 1hbSKh-0004Qa-LM; Thu, 13 Jun 2019 18:12:11 +0200 From: Stephen Kitt To: x86@kernel.org, linux-alpha@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Stephen Kitt Subject: [PATCH] Drop unused isa_page_to_bus Date: Thu, 13 Jun 2019 18:11:55 +0200 Message-Id: <20190613161155.16946-1-steve@sk2.org> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org isa_page_to_bus is deprecated and no longer used anywhere, this patch removes it entirely. Signed-off-by: Stephen Kitt --- arch/alpha/include/asm/io.h | 5 ----- arch/arm/include/asm/io.h | 1 - arch/mips/include/asm/io.h | 2 -- arch/x86/include/asm/io.h | 1 - 4 files changed, 9 deletions(-) diff --git a/arch/alpha/include/asm/io.h b/arch/alpha/include/asm/io.h index ccf9d65166bb..af2c0063dc75 100644 --- a/arch/alpha/include/asm/io.h +++ b/arch/alpha/include/asm/io.h @@ -93,11 +93,6 @@ static inline void * phys_to_virt(unsigned long address) #define page_to_phys(page) page_to_pa(page) -static inline dma_addr_t __deprecated isa_page_to_bus(struct page *page) -{ - return page_to_phys(page); -} - /* Maximum PIO space address supported? */ #define IO_SPACE_LIMIT 0xffff diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h index 7e22c81398c4..f96ec93679b7 100644 --- a/arch/arm/include/asm/io.h +++ b/arch/arm/include/asm/io.h @@ -33,7 +33,6 @@ * ISA I/O bus memory addresses are 1:1 with the physical address. */ #define isa_virt_to_bus virt_to_phys -#define isa_page_to_bus page_to_phys #define isa_bus_to_virt phys_to_virt /* diff --git a/arch/mips/include/asm/io.h b/arch/mips/include/asm/io.h index 29997e42480e..1790274c27eb 100644 --- a/arch/mips/include/asm/io.h +++ b/arch/mips/include/asm/io.h @@ -149,8 +149,6 @@ static inline void *isa_bus_to_virt(unsigned long address) return phys_to_virt(address); } -#define isa_page_to_bus page_to_phys - /* * However PCI ones are not necessarily 1:1 and therefore these interfaces * are forbidden in portable PCI drivers. diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h index a06a9f8294ea..6bed97ff6db2 100644 --- a/arch/x86/include/asm/io.h +++ b/arch/x86/include/asm/io.h @@ -165,7 +165,6 @@ static inline unsigned int isa_virt_to_bus(volatile void *address) { return (unsigned int)virt_to_phys(address); } -#define isa_page_to_bus(page) ((unsigned int)page_to_phys(page)) #define isa_bus_to_virt phys_to_virt /* -- 2.11.0