Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8124852imu; Tue, 4 Dec 2018 03:26:01 -0800 (PST) X-Google-Smtp-Source: AFSGD/XXB8+318DLXPY7TfAVkCgh+/N0HSpdY5gWtme7VblugwSbJLMGylwsbGL2JSe0Ue2Ko/DU X-Received: by 2002:a63:5d14:: with SMTP id r20mr15385868pgb.329.1543922761753; Tue, 04 Dec 2018 03:26:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543922761; cv=none; d=google.com; s=arc-20160816; b=fu7HjoVrDYZvcIZpfZZEQmcb+ge6qRu/IDihhK6qgL4eWhlJEGpgP740sjlEHbF0eb QMG72MQIuEI0BaGx0++JiREfWJcVxKsTxap/rVIqlYTIXpcZGpW1ePZi/gO2S49Nj+nP /QPGavJPbxzn3n0BQqffQLu6X2yjMbWy0Fvl9e4OIZJp7eUT+rW95oI64goJ9QtW17xl mapNCkzKRoo8ckCcnPMeTDgwJc5ytejVzp0/lBgv0CnQwqU5MOC0EC/R/f9AWvCUa3eI OpyQ+y5tZNJxDQ7qHckJLg0qiVKe85OCNyqQNcUowqOGFtix5X0vi9gCqfXiSfAEhYMY BngA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date; bh=f2sWllMZt4Z0bs7MylL7UpttV4mP29al56zqwswwJMk=; b=NToQJcxOGugQ7KixWhXFprz2FXXVvu74L100Y1TSQCsPDzKzU3xvrAlb+uBJANu/wQ 48ZYJ5G3/hOp2WfFB/yt8062rhKSWh8gFMo547kxWRuNfWqk8pSQQLouFKVsVtfa0eYd noWvDxPi1DtzOYh4jTFklOG8vUCD+WP7J1zzpiS2lPIn1gk/n2LaEHOR0UadUB43p//z fdtPH5Pk/h1T4z80RxeyiicWCh6/cinVqAZQVp5ohww6L7yAGHT/bhPctM9IwouGrGJf 3IUuhqYwortszIfTumnYQpTIw5KHpU9qRqJD1HnefShKJdkPcFvOgqSq+zdhWZuIV7yC Xkcw== ARC-Authentication-Results: i=1; mx.google.com; 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 g6si15230634pgn.57.2018.12.04.03.25.46; Tue, 04 Dec 2018 03:26:01 -0800 (PST) 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; 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 S1727337AbeLDLZK (ORCPT + 99 others); Tue, 4 Dec 2018 06:25:10 -0500 Received: from terminus.zytor.com ([198.137.202.136]:39115 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726506AbeLDLZJ (ORCPT ); Tue, 4 Dec 2018 06:25:09 -0500 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id wB4BOrpa842547 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 4 Dec 2018 03:24:53 -0800 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id wB4BOrfu842544; Tue, 4 Dec 2018 03:24:53 -0800 Date: Tue, 4 Dec 2018 03:24:53 -0800 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Roland Dreier Message-ID: Cc: hpa@zytor.com, tglx@linutronix.de, linux-kernel@vger.kernel.org, mingo@redhat.com, x86@kernel.org, bp@suse.de, roland@purestorage.com, mingo@kernel.org Reply-To: hpa@zytor.com, tglx@linutronix.de, mingo@redhat.com, x86@kernel.org, linux-kernel@vger.kernel.org, roland@purestorage.com, mingo@kernel.org, bp@suse.de In-Reply-To: <20181130211450.5200-1-roland@purestorage.com> References: <20181130211450.5200-1-roland@purestorage.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/timers] x86/hpet: Remove unused FSEC_PER_NSEC define Git-Commit-ID: d999c0ec2498e54b9328db6b2c1037710025add1 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=-0.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DATE_IN_FUTURE_96_Q autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: d999c0ec2498e54b9328db6b2c1037710025add1 Gitweb: https://git.kernel.org/tip/d999c0ec2498e54b9328db6b2c1037710025add1 Author: Roland Dreier AuthorDate: Fri, 30 Nov 2018 13:14:50 -0800 Committer: Borislav Petkov CommitDate: Tue, 4 Dec 2018 12:17:21 +0100 x86/hpet: Remove unused FSEC_PER_NSEC define The FSEC_PER_NSEC macro has had zero users since commit ab0e08f15d23 ("x86: hpet: Cleanup the clockevents init and register code"). Remove it. Signed-off-by: Roland Dreier Signed-off-by: Borislav Petkov Acked-by: Thomas Gleixner Cc: "H. Peter Anvin" Cc: Ingo Molnar Cc: x86-ml Link: https://lkml.kernel.org/r/20181130211450.5200-1-roland@purestorage.com --- arch/x86/kernel/hpet.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/x86/kernel/hpet.c b/arch/x86/kernel/hpet.c index b0acb22e5a46..dfd3aca82c61 100644 --- a/arch/x86/kernel/hpet.c +++ b/arch/x86/kernel/hpet.c @@ -21,10 +21,6 @@ #define HPET_MASK CLOCKSOURCE_MASK(32) -/* FSEC = 10^-15 - NSEC = 10^-9 */ -#define FSEC_PER_NSEC 1000000L - #define HPET_DEV_USED_BIT 2 #define HPET_DEV_USED (1 << HPET_DEV_USED_BIT) #define HPET_DEV_VALID 0x8