Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp220094ybh; Tue, 17 Mar 2020 21:48:12 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuSFFl1HWiS/yyinJgI4DXbWFWbRc8Rb0CAHdah+dsrii9WKY5FoKKevtBB8E21X+x044db X-Received: by 2002:a05:6830:451:: with SMTP id d17mr2299024otc.184.1584506892476; Tue, 17 Mar 2020 21:48:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584506892; cv=none; d=google.com; s=arc-20160816; b=Bc75Bth9q8psrUmIwwDNMyg1N47tYGTE7+etb1vQPTfcPoAoRoOFh3P9V+eVPqKBKw Sa1BlHTg8H3T/Cgml9Ces/MmghJn1mlWrsrMJ6NPvQO7owFVttsSHthM1BJ7QCclr3On Tq7XIacCuTBqGcN5S4RKWaiWrYy4xWs4yBqazFqlcS49e6Ff1LtX5EddAkZ5zyonTCsI 3qub6U1YdPwZT9y/lP51IcmSr70dXngIIR8PfBKna1HoUWiSPCsNPNvYqdrpxO2cGldJ gIw+SguPRLoQAog0J4JDjxWCCx3jkfkxJDs7lGTCFsHF4uZAWpVJpXDtTggCWWurj6X/ dvmA== 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=qymOq4cf54xjjgySEN3/xmzIbaI1NAQlsmfsMwqPu/w=; b=Sod2Lo8Fwq7FkeNn0bTNQqWGq8svT0tYCuGqTXfBtE8Cb8yQiWJ4rAEOSjDrdg8SIr cXgK6X0ezhBDHxt94+uLwfPDeEGpNySsPxI/5ZQWGzNtDY9X45+CZaL7mt7bpX4Zhjnc hzx1pA2Wwx5nrsudiQIs8J4H631AGGJHTOJAM1zNtZON+WH+RDW+J2Dvma65bX29GtX0 Mv7m+A84buU1gC43a4miHI1UZd+TGk+/MHeW0VcwdXtmR82qbpZnFZRVMmu4uOcNjz4r XfWxZHGiwQFq9z4OTGnJL06yjBHe2vpgXaQvnyCffCocKQCBNwqLoXFHs6S0h2dhlsn2 plLw== 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 y65si2688597oie.92.2020.03.17.21.47.58; Tue, 17 Mar 2020 21:48:12 -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 S1726607AbgCRErc (ORCPT + 99 others); Wed, 18 Mar 2020 00:47:32 -0400 Received: from m17617.mail.qiye.163.com ([59.111.176.17]:61426 "EHLO m17617.mail.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726227AbgCRErc (ORCPT ); Wed, 18 Mar 2020 00:47:32 -0400 Received: from ubuntu.localdomain (unknown [58.251.74.227]) by m17617.mail.qiye.163.com (Hmail) with ESMTPA id 29CE3261AA3; Wed, 18 Mar 2020 12:47:26 +0800 (CST) From: Wang Wenhu To: Guo Ren , Will Deacon , Thomas Gleixner , Andrew Morton , Mike Rapoport , Wang Wenhu , linux-csky@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kernel@vivo.com, trivial@kernel.org Subject: [PATCH] csky: delete redundant micro io_remap_pfn_range Date: Tue, 17 Mar 2020 21:47:01 -0700 Message-Id: <20200318044702.104793-1-wenhu.wang@vivo.com> X-Mailer: git-send-email 2.17.1 X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZT1VKTUJLS0tKT0NMTEhKQllXWShZQU hPN1dZLVlBSVdZCQ4XHghZQVk1NCk2OjckKS43PlkG X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6Kyo6Hhw4Szg0HjQiLhATH0MD ATYwFEpVSlVKTkNPTktNQ09DTUNMVTMWGhIXVQweFRMOVQwaFRw7DRINFFUYFBZFWVdZEgtZQVlO Q1VJTkpVTE9VSUlMWVdZCAFZQUpCQkw3Bg++ X-HM-Tid: 0a70ebf7bd369375kuws29ce3261aa3 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Same definition exists in "include/asm-generic/pgtable.h", which is included just below the lines to be deleted. #ifndef io_remap_pfn_range #define io_remap_pfn_range remap_pfn_range #endif Signed-off-by: Wang Wenhu --- arch/csky/include/asm/pgtable.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/csky/include/asm/pgtable.h b/arch/csky/include/asm/pgtable.h index 9b7764cb7645..bde812a785c8 100644 --- a/arch/csky/include/asm/pgtable.h +++ b/arch/csky/include/asm/pgtable.h @@ -306,9 +306,6 @@ void update_mmu_cache(struct vm_area_struct *vma, unsigned long address, /* Needs to be defined here and not in linux/mm.h, as it is arch dependent */ #define kern_addr_valid(addr) (1) -#define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \ - remap_pfn_range(vma, vaddr, pfn, size, prot) - #include #endif /* __ASM_CSKY_PGTABLE_H */ -- 2.17.1