From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B798C71 for ; Mon, 31 May 2021 12:25:00 +0000 (UTC) Received: by mail-ej1-f46.google.com with SMTP id e18so694984eje.5 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=qppQ1rM1s6oE9smS8f5Ud3uBeHcr/x1s56L/Wy9SDvXXiBM2CgL2ohyPO6JmHMh6Xk 0ALmBrd0HzgpEObzo/HB/PLhVaguDGZNGUv+YDzHDRp21Pja2c9ij7mmjvslte+qlnHP mhAt36hhiGmL4hFUvsALcY0m53qAbxSmckvpq42BTLCMgZ1g0g30NnbXNxvMiHjtOOvA DET+IK34x8NX0sAFYearA0CAcxqnfaL6A2VMWtURmG32e3sJYfjxG4pzoyjjnefeNZEi jNLG/rwvYVsV8EuEspXs+HV6p2JjEB/dSLiDN1SW0mDbI7l5y0UVKxINgZSFLjUC6+op cd+w== X-Gm-Message-State: AOAM533VaMYAj+TM4Ed3YdfMvvU/+H/aSPZH2oyDmhYMWv2V3TFD8486 ymAh+JkzIJ6T21eHWlfT9Y7I1g== X-Google-Smtp-Source: ABdhPJyDYlmkSLP3gas8rRrq3uvFjJoPBY9aCf31K4xNc/54kq9YOxBqvPi2P0P04x4KlgfPdlQgsg== 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 X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: 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 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