Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1635403pxj; Sat, 29 May 2021 21:58:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzX1EZwFC/mJMvm6lRqj4r/31/gXq8YLcVPjWJoZ3Qqi4s23zVxvjGlpexssrBOlU/xF9Ow X-Received: by 2002:aa7:d602:: with SMTP id c2mr9325671edr.317.1622350727840; Sat, 29 May 2021 21:58:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622350727; cv=none; d=google.com; s=arc-20160816; b=Bsm/En2AXos/Wq3gV1KdUJRNfrveyLjbO0vhyS1yiRkgQg2KzuHwFJgDfm4XjDkDS3 Z8s5dL2ge8/qauyGqGT9h6uRqRT5kEuaxXHu0k8U2ftWzNXPi5U+WoQ13DcBPqN6au8l 6vHZp9L8pnHtLbv1aWt1AKxMXbonoYJkFxxQafBiLSIer4XfZXxS9wUgC1UqBMklK/1s hPnTg2YrzxF8w7vvxrWY8aLr+puloij4k3WtvB6xB/diCpFHXUmDELQcPWe5TFetoxAe K7796WSJyLFIzkzWBYQ2Upz+oFCieNuPGo0dJgD0k0c1bGtCbpqZ3guHPucAPraUb8wf Ly5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=BLeVr5lOlukwasgvFSZyiRnoJcVe85O3anUSivylQ6U=; b=nzfixT9b12LQXlqW7OihruZWyBQOnBO0rLsBVaQHpuQA7Ajj2kPNm4d1jYLvWjXR88 ZSKTW7KNl2q1E628OMmZp/FtZXsjueRZwqZqwML/EimtmaLNYWUxTxCrgHHEncpmMTJJ m+yNWSak14P91PXsY2qVjvIFP6l+QbSQw3zz6gf9RaOq+a/F/LMFQNzXnk97XG/FP5py X4Hwgk2WXlkN4vGoZz1pOFY3EZ9KzSVZKDdMoZpiW8rSyLCk92oVaQlveixDKrPSdqkv ifzkzVQFxyYJStg/ObB3Nw7+4Oz2jvnFsimxpEAg5tJ38AkTB9VY6IyV87rPNTahGbMY 0GOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=R+8pw7pf; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b1si9274908edm.343.2021.05.29.21.58.25; Sat, 29 May 2021 21:58:47 -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=@kernel.org header.s=k20201202 header.b=R+8pw7pf; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229658AbhE3E4F (ORCPT + 99 others); Sun, 30 May 2021 00:56:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:53972 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229653AbhE3E4C (ORCPT ); Sun, 30 May 2021 00:56:02 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E4499611AE; Sun, 30 May 2021 04:54:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1622350464; bh=GkThTms33HMIKQO6b4SaeQi3+r70EMZPQhD7XOMYSa4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=R+8pw7pfX1Bw/7vR9PVJ5quXPDC++4xVfnCDm9Z22XgRP76X0UiWSFioceOfUvsh2 nerdYLMpw0ugG0bR6QkVghQ39aUcBNmRf9xcymBLUEH+j/nlVy8V4+FBppjEruS+/P aQ4SBqXpIqTbZLhbfwyX3u7jel+HVnXPPl0ezufIkVWA790ppbWfntetP38q+AnhjP pQwAstutgkt0bqnWrCOlAnt44lMQUucHW2mMPO0Lzhz1v+7MCkByAyljXqhV0x4FQx 3Wi+LKPTsa6F+piFyg58UA7Tv+gTicu8vF34LW16fowlJfIduR8+4yYcwAtz5BlqTF fWAu8La1iwgwg== From: guoren@kernel.org 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 , Michal Simek Subject: [PATCH V2 2/2] microblaze: Cleanup unused functions Date: Sun, 30 May 2021 04:53:28 +0000 Message-Id: <1622350408-44875-3-git-send-email-guoren@kernel.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1622350408-44875-1-git-send-email-guoren@kernel.org> References: <1622350408-44875-1-git-send-email-guoren@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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). -- 2.7.4