Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2559604pxj; Mon, 31 May 2021 05:26:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNk+95mN/1YYDl6a4FcfJyUposA3GoMNKQ+ojHA6/msX8iVEzOhFs35czf4PHuJRtVW7lX X-Received: by 2002:a92:b0b:: with SMTP id b11mr12116186ilf.301.1622464006397; Mon, 31 May 2021 05:26:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622464006; cv=none; d=google.com; s=arc-20160816; b=lDfqQGetFq02iwhKcvKkqXvdA8JIYr1WxJt8Di1cxb2Mt1YFgQw40qX4lTrlQloynu 13LCUhBxEW/v3hAaNiyyHTCNp4ZV27lMuBD71Za+5sF/9qzwyNWZvXht+WPf+XSs6DYU pxDfNcKSsv/r13aSjtZc+ecpdfejgvMxB5j6Q7p7ymtCGoG8bWPZkie37vfxQEbvzXkj 8NRS8oG7sgYFr5u7e1ISqoz147fHxslOsbkocqi3lBZXGEPCGb+NyynYNSgsTsTip+iz t6e30spo7GGPMGWfTq01/I5pSGPzHYbDUeeySUEycbaErDCmDYMwF5blSSXc887LglgU YgJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=FW9/91oXBy6Mao6g/WQyoqZ2VlX3RS8bSdK17yEcolU=; b=idRR0oXZZ0TfsMs2ooc5LR2FFfwS16gB5aCbo8aaZ/qY1HW0GZK1PC09jMNe2J27Hp prMkaEVe/0FhqotEybtQehsQI1uc2xSTlZ5rYuogJU7HkxPBj4AVRoHy4JLuAYip79y9 2IlThqUuu8zbIPaSQEJgSGVBdv4XiOmjEzklLT39AbKw00GZYNk9ROTJeaGyMP8Qso+S LuKJfIBuGLQQxenNx1mecr/ivrAIeMIxyF3cGerzDLsIod+0jvgUG2D7shlXnpGLILvf EPmKCvN80+TlW1tUclGBOwN7cX/xxNCdacSROBK1lmrpEgBWfqHlsVk3yw02+hxrRSDL tDVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=zeFMi410; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i19si8203782ilj.131.2021.05.31.05.26.32; Mon, 31 May 2021 05:26:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=zeFMi410; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231470AbhEaM0t (ORCPT + 99 others); Mon, 31 May 2021 08:26:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231535AbhEaM0m (ORCPT ); Mon, 31 May 2021 08:26:42 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C258C061763 for ; Mon, 31 May 2021 05:25:00 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id h24so12489083ejy.2 for ; Mon, 31 May 2021 05:25:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=FW9/91oXBy6Mao6g/WQyoqZ2VlX3RS8bSdK17yEcolU=; b=zeFMi410XXFAIk92KbRPsYvamk9jNcjSYzFyz8hyv0j66nyXqVGZ4aXT/Arsdk+n6b p+XBFg5deVkez/9/judkzj3agLMeWTzkV6E16U2qRIiwSAb5Qz55SwyoJ/duSxaPbJgL PAg6n4Bp9XFLgye5mUrLlElxVEVgDYhwqbrhTL8a55aS24pNLB81o4THCiSjgaEu3wZq /PDzRXmk95xZNY3BzOjI1fWPV6LhHoK0jwPSK//an3mA7QJK3RX3iVThcWyn42kRmnoV wcnYPsgQ8EmJIJHQaoCqAOoByUOvyldnoc76L4FNZ7VwBC0iF+Wu5ti9fDYIkB0Te8ON Cb2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=FW9/91oXBy6Mao6g/WQyoqZ2VlX3RS8bSdK17yEcolU=; b=DktXLXsMQQsKvaH0/YOKRbiGwfTgVLZ1CDESuwcGP/r/o7rt4CxMkUVkvkJAqD0dfe 7vQ9zV/zeE5m4TKklncJQa4uypIFgMJuW7X3Y7ZFscTlcbLGX/wXAjPQnVcuGoYS5s8q X7/D7THALwiXB8kgRBBDlqAOuaARdDlhigYvagpFyIfP4IKnMjc9grGjWfS2V3/TPsFE VAj/yabm34rDg/AFk8jI55/oBpj1PX+2bjUtbQukaJs6CAk9ubUAUO5Ofv0xkZX5htUN 0lr2r52CR69lNkHCk0rQ2noaI6xcF9zOLHz8H9EsZ2c72q7yEwBtKau12G/9Vn9ODo6O Cm/A== X-Gm-Message-State: AOAM533iYhLeyXg8pYgivci5EdEBX4o/q17RW4uXv/IKnd4klvbTrAtD tB9djRTYLr4tKs/TuLcBpYPY3Q== X-Received: by 2002:a17:906:5d0c:: with SMTP id g12mr22408401ejt.447.1622463899056; Mon, 31 May 2021 05:24:59 -0700 (PDT) Received: from ?IPv6:2a02:768:2307:40d6::45a? ([2a02:768:2307:40d6::45a]) by smtp.gmail.com with ESMTPSA id b22sm1235904eds.71.2021.05.31.05.24.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 31 May 2021 05:24:58 -0700 (PDT) Subject: Re: [PATCH V2 2/2] microblaze: Cleanup unused functions To: guoren@kernel.org, anup.patel@wdc.com, palmerdabbelt@google.com, arnd@arndb.de Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-sunxi@lists.linux.dev, Guo Ren References: <1622350408-44875-1-git-send-email-guoren@kernel.org> <1622350408-44875-3-git-send-email-guoren@kernel.org> From: Michal Simek Message-ID: <73bf48c1-6692-795c-ba16-b7baeb11d3b9@monstr.eu> Date: Mon, 31 May 2021 14:24:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 MIME-Version: 1.0 In-Reply-To: <1622350408-44875-3-git-send-email-guoren@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/30/21 6:53 AM, guoren@kernel.org wrote: > From: Guo Ren > > These functions haven't been used, so just remove them. The patch > just uses grep to verify. > > Signed-off-by: Guo Ren > Reviewed-by: Anup Patel > Reviewed-by: Christoph Hellwig > Reviewed-by: Palmer Dabbelt > Cc: Arnd Bergmann > Cc: Michal Simek > --- > arch/microblaze/include/asm/page.h | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/arch/microblaze/include/asm/page.h b/arch/microblaze/include/asm/page.h > index bf681f2..ce55097 100644 > --- a/arch/microblaze/include/asm/page.h > +++ b/arch/microblaze/include/asm/page.h > @@ -35,9 +35,6 @@ > > #define ARCH_SLAB_MINALIGN L1_CACHE_BYTES > > -#define PAGE_UP(addr) (((addr)+((PAGE_SIZE)-1))&(~((PAGE_SIZE)-1))) > -#define PAGE_DOWN(addr) ((addr)&(~((PAGE_SIZE)-1))) > - > /* > * PAGE_OFFSET -- the first address of the first page of memory. With MMU > * it is set to the kernel start address (aligned on a page boundary). > Ah ok. you have sent v2. Will take this version instead of previous one. Thanks, Michal -- Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Xilinx Microblaze Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs