Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp401564img; Wed, 20 Mar 2019 03:07:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqynXR4FBRgot5p8Tc2gkbu0JeX10DJLfFiYhgKoigBGdJJaWznkfdPjcwAHviRbHccoVf8u X-Received: by 2002:a17:902:bf05:: with SMTP id bi5mr29903906plb.252.1553076464057; Wed, 20 Mar 2019 03:07:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553076464; cv=none; d=google.com; s=arc-20160816; b=VMWrs6WbE84GJpA6kPGN5WjyCMGyDabwUAOSnVZ2NFEywYbTAdvWHt97RdB6p447QW g5Ws7u70blv0GKU7VkDVZky6gEXTmPJkkM1DErDPLUlezon6XcPJup8loc6FKvC0rJ8M EZmTCLvuL3yzCzxl55BzjI34xoC/ZnR2Opg3I17pddTgYhQ/1w9Kzp9ex8PDZyR5n9WW JD1n9nAAIXAhfIqfMXaeYtdUXG/3IUbsIvURrG1ebZWo4rU8CkmP266Yk5p0KjmpOuMq lnDJ1P8VogfQoccx/2t5ilvlStQ4eSRlBuzTHaj4j3Kj4E+ttzj2bxt0IEw0UAg3CjIU 3dxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:cc:to:subject:from:references :in-reply-to:message-id:dkim-signature; bh=S8etuLC7X/p2OUH3x+AL9pvAO7h9KMljg67WQLaUeRQ=; b=EUZfbDNFQs+bdahQcHadzG45dzsnR4tpESeKeCx+Lr5ksEZ8GiuwOeXmu5qhVkLhZW p5qAktE7uyZlZD+5dQpydj3NTZVeeGEoe/4mejTqGm8WGPCdLGz1+lMsaNJUZ39bT4aW 0DwfwFeCqxngWKUU6F1xOeVNRPIx2/m+sXT8rosuuv2k5C/A/U1r/s1FOuGPuIqTU6z2 LoE68W09FYSd9GW4s1fZXEcGcOfGqYqC1Es8xyg/UE53QuIWdezUqEanSiC0hodM0BeY xJ8P8OYwblIIqwzqbBAuCrx0a7mLdxeSXfAL59xbUMwFVZmDRVRak8owfsC77O+K0sta oRAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=VSB3jkMK; 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 e2si1617558pln.45.2019.03.20.03.07.28; Wed, 20 Mar 2019 03:07:44 -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; dkim=pass header.i=@c-s.fr header.s=mail header.b=VSB3jkMK; 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 S1727661AbfCTKGn (ORCPT + 99 others); Wed, 20 Mar 2019 06:06:43 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:8626 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727606AbfCTKGl (ORCPT ); Wed, 20 Mar 2019 06:06:41 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 44PQYp5kR8z9vC03; Wed, 20 Mar 2019 11:06:38 +0100 (CET) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=VSB3jkMK; dkim-adsp=pass; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id 4NtgyQX0TZoc; Wed, 20 Mar 2019 11:06:38 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 44PQYp4VFJz9vByx; Wed, 20 Mar 2019 11:06:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1553076398; bh=S8etuLC7X/p2OUH3x+AL9pvAO7h9KMljg67WQLaUeRQ=; h=In-Reply-To:References:From:Subject:To:Cc:Date:From; b=VSB3jkMKyMchqpH9bGEkXg8UUYRITEiAKxCnZV7foYtrdE5Lm2mSMu5TloB1iUzad jKZKY+HeIXUNiirh7f4nUvlbxU/HrtfQGACVmH1vD8lUGY9EvVACEGym2pyhRAFqw/ VpBPDdaauiQVF12IJEFvhSeFJeVUNDjjIybIVYBE= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id B6D668B918; Wed, 20 Mar 2019 11:06:39 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id tWQJZKu0JFKW; Wed, 20 Mar 2019 11:06:39 +0100 (CET) Received: from po16846vm.idsi0.si.c-s.fr (unknown [172.25.231.2]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 9D9738B911; Wed, 20 Mar 2019 11:06:39 +0100 (CET) Received: by po16846vm.idsi0.si.c-s.fr (Postfix, from userid 0) id 8FD5963AEF; Wed, 20 Mar 2019 10:06:39 +0000 (UTC) Message-Id: In-Reply-To: References: From: Christophe Leroy Subject: [PATCH v1 04/27] powerpc/book3e: drop mmu_get_tsize() To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , aneesh.kumar@linux.ibm.com Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Date: Wed, 20 Mar 2019 10:06:39 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This function is not used anymore, drop it. Fixes: b42279f0165c ("powerpc/mm/nohash: MM_SLICE is only used by book3s 64") Signed-off-by: Christophe Leroy --- arch/powerpc/mm/hugetlbpage-book3e.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/powerpc/mm/hugetlbpage-book3e.c b/arch/powerpc/mm/hugetlbpage-book3e.c index f84ec46cdb26..c911fe9bfa0e 100644 --- a/arch/powerpc/mm/hugetlbpage-book3e.c +++ b/arch/powerpc/mm/hugetlbpage-book3e.c @@ -49,11 +49,6 @@ static inline int tlb1_next(void) #endif /* !PPC64 */ #endif /* FSL */ -static inline int mmu_get_tsize(int psize) -{ - return mmu_psize_defs[psize].enc; -} - #if defined(CONFIG_PPC_FSL_BOOK3E) && defined(CONFIG_PPC64) #include -- 2.13.3