Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp414451pxk; Thu, 1 Oct 2020 05:44:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznn+/y+zXEoaGw4ShugKxHD3We1hdvBb3y6xDO9P1UdPuiwJzcSh/5DW3ltDGTH7URLFe3 X-Received: by 2002:a17:906:6a82:: with SMTP id p2mr7867400ejr.3.1601556248195; Thu, 01 Oct 2020 05:44:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601556248; cv=none; d=google.com; s=arc-20160816; b=QZGWX7pjqGn6sJzRUwhcEwfmXE+0+n4v/DWHduCnNWtZdyQQWWZiVdmVYdtR3QIXT7 QuG465SCIRJv3OnH+CgvMfYQN32t7hnANlZudFdL/4GnyhJ1Ar6Aj0siwf6KzQwltgcC ua/Ep5+FPsn9VIP8rD/ybBdVuxFhxh0gkUDSSMSgkkw7OplSn2bvT71ulz1NAM5tSCWa QO6vzpnGUj1+sda7QTc+RDsLG4EaZTbJaOsuH5bwiwm5fqFMkSKiB6ZT1tDJolqxk3vw k9LPXAVHKAaP4S27DLkIfhiwBlwd7tyBOD5/5OxxjTUuon5UpdI0LyvsVr4AVcJPb9Fw NCiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:cc:to:subject:from:references:in-reply-to :message-id; bh=9G0Q39Dvz7mYt6qHL/5RChC31/tgkz4tyt/p7C/55ig=; b=r+UKJOFCkjEbeC6Ma6aWn/muBnCd/j+gWe5wPBAYWLDwAt3qVrmHghlFOH3pNzdiO4 7T1jvlyZKxZKGbbacrXX8Xf+4qYDyA8Dr16JtL9uUViy4T3bCZxrY7wdKVGmq5AWvbaX Dgcdh7jeEfaXISUyd3eUzqrfUSmQdhn9feMvcqByHsfL2qE7PNgSAHsh/85is+I34CQI R88xs+l9VnrGFCELo0jXfCNljoyBqrke3I6x8X+tPTxFsGY0R8+PTL/ulHVBco9ecyQD rRNnBKJOwzyzqq7TRKnPrqSFvIOkwmKXO8y9A8G0Gjg6DUdJjy+VuGqtMjgJeiVcvEen T69Q== ARC-Authentication-Results: i=1; mx.google.com; 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 y17si3465741ejq.737.2020.10.01.05.43.44; Thu, 01 Oct 2020 05:44:08 -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; 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 S1732150AbgJAMmr (ORCPT + 99 others); Thu, 1 Oct 2020 08:42:47 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:46020 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732028AbgJAMmp (ORCPT ); Thu, 1 Oct 2020 08:42:45 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 4C2CSw6PJrz9tx8Y; Thu, 1 Oct 2020 14:42:40 +0200 (CEST) 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 KDCRpuSA3p-u; Thu, 1 Oct 2020 14:42:40 +0200 (CEST) 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 4C2CSw55bgz9vBKm; Thu, 1 Oct 2020 14:42:40 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 8E7358B97D; Thu, 1 Oct 2020 14:42:42 +0200 (CEST) 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 9IEdtMjbzLEN; Thu, 1 Oct 2020 14:42:42 +0200 (CEST) Received: from po17688vm.idsi0.si.c-s.fr (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 5301D8B96F; Thu, 1 Oct 2020 14:42:42 +0200 (CEST) Received: by po17688vm.idsi0.si.c-s.fr (Postfix, from userid 0) id 35AD465ED9; Thu, 1 Oct 2020 12:42:42 +0000 (UTC) Message-Id: <1746e2d11ea90c3f45877e1fcc6c79ce96cf6b98.1601556145.git.christophe.leroy@csgroup.eu> In-Reply-To: <94dc68d3d9ef9eb549796d4b938b6ba0305a049b.1601556145.git.christophe.leroy@csgroup.eu> References: <94dc68d3d9ef9eb549796d4b938b6ba0305a049b.1601556145.git.christophe.leroy@csgroup.eu> From: Christophe Leroy Subject: [PATCH 4/6] powerpc/time: Remove get_tbu() To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Date: Thu, 1 Oct 2020 12:42:42 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org get_tbu() is redundant with mftbu() and is not used anymore. Remove it. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/time.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/powerpc/include/asm/time.h b/arch/powerpc/include/asm/time.h index 3ef0f4b3299e..c4ea81c966b0 100644 --- a/arch/powerpc/include/asm/time.h +++ b/arch/powerpc/include/asm/time.h @@ -52,11 +52,6 @@ static inline unsigned long get_tbl(void) { return mftb(); } - -static inline unsigned int get_tbu(void) -{ - return mftbu(); -} #endif /* !CONFIG_PPC64 */ static inline unsigned int get_rtcl(void) -- 2.25.0