Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1348382lqe; Mon, 8 Apr 2024 06:38:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV4oqciqTUtd7hADIksqYJBH9uvLFgMAPNWiVhy9i6z0H3WP2/04OC4TOfns//yKTO1scmk1/D4kQHXAGG5DYf0HnkQ0naS5GxkvBRbcg== X-Google-Smtp-Source: AGHT+IH0OhjcqaD7XVNaWX9pT2UEAk/9hk15lI+kmHp6mN73lFNJoOTVzhYxvn/C+JUREg7gMhA6 X-Received: by 2002:a05:6a00:1301:b0:6ec:fdfe:9bde with SMTP id j1-20020a056a00130100b006ecfdfe9bdemr9202100pfu.25.1712583488493; Mon, 08 Apr 2024 06:38:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712583488; cv=pass; d=google.com; s=arc-20160816; b=zupXb4mNeUTwTx5M57tedV30RCcVdkoQt6Sgu83xj9qz9Rs4aT/FmLOQVx/NQCbHVU /13Boc4FDWyR01XiK60MJ/od293Tw5BLticDxY9wpnlfdTP/j7dqOiWxlTq/VFPwO0nL pLfez1LPtqxZTopUNIQJ3ZF+onyo6liPTz8OWW9KgLmvVRc0FAHUZhsBYIwlBJpx+/yt 12bQmcrohIBIE/hGHsWPB2WkYiY/HuPqxIn3LV3Sf82Tu/oMOI7U+kQEVGukdNBbLmCg p4HIAuSeka0O0Prz/4nXmfhiJ5UPOLnk1znJLbQMrnIOPovIL97iS8YPSXU4dC4nWUH0 2e9g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:in-reply-to:cc:subject:to:reply-to:sender :from:dkim-signature:dkim-signature:date; bh=YHsV6dV1JqFTklSy7gQssuazIuqk646bANJQNohqk0c=; fh=eyVC8vutdW91BwiuXvKYUu3lrT9EABdsmPU8tCKLpos=; b=J9Zn4kSPLLLPOTGU6IYTXuHQvBbE/EFEddKJ85M4GcpVcRG5JdSC1AabqN6GcchqzI lWe6oQjYtHhpd9EUwIPNg/YSWk3tcgKWtONXWjhtw76BAbxUNxCvfxo9qNaUM2FOiqg5 7u+Ens3T71ygV97dg/bbTgkqrroAf61U0IwyNo0/zIJAp0tcc37C67L6amJwYlfARZbX +l9F6qBScRRsK5qpshEx5AOwFJtx9WZWshpF1HWPgoeY5+X2M96+hj4cczOMkjViIGDA gV5egOPTrl+54yz/KfIPA2g0rzT+7fI9e4qPMrhqgHUQERxIXFGuZhjtksU5Wg+vG5G6 L1ow==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=hPc84cS2; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=+5J4HMG8; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-135408-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135408-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id w4-20020aa78584000000b006eadc68e932si6355829pfn.205.2024.04.08.06.38.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 06:38:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-135408-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=hPc84cS2; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=+5J4HMG8; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-135408-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135408-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 8D91EB221FC for ; Mon, 8 Apr 2024 13:14:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C568E823BC; Mon, 8 Apr 2024 13:10:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="hPc84cS2"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="+5J4HMG8" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 43B3C81ACC; Mon, 8 Apr 2024 13:10:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712581849; cv=none; b=l5zASyA7khnBiJrwVmmSn6CTVrHejAkVHJWfLWjC5tsFjO8YQOaBXOzWuZmutatMpm20XcuHMkZU9vbxyzqYApQ9wsM74Lh8VkD+3auFOK9ESeefnAj1EacvNKafWVs3xy/sXBD9+VXKzC9evXcnF0TfkDPD44kdD80HLnkO/jQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712581849; c=relaxed/simple; bh=PXf7R5qAUc4cgwrk+L+Umb4OtJuYvmZxpBnvVVXpg6A=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=R1ik9INE3XZtmI65X7poLJsTJBUomURgizaOjVdzMgq5JPst9N09HIQFQZ2AEmJ/dWYmz303n+4froyf/OpuPOu0xnQ99Sh0UqGl8C3BTLNjp5/trMbiOQV5bXDovjgsT+4sf6Mz0kto3Z/Lj6B913RIrqW6vPuPUHCkuZN0Y+g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=hPc84cS2; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=+5J4HMG8; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Mon, 08 Apr 2024 13:10:45 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1712581846; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YHsV6dV1JqFTklSy7gQssuazIuqk646bANJQNohqk0c=; b=hPc84cS2FN8M3g3nzbYTwn05+REUiSto4mn59pENG0B7XAn4prYQwN0X6wBfpa7Pt1/PGN nnNppY2XbjnEVLhCIIVmjbl7D2hg6Zknci6PQ2xQwqrLEtVgfpDyTNYFKrvt1BdxR+9zw4 etH+xsOeYHIQWR/4+p2usGUtroQIjXpOlji53gCol5QF8EUJ8aJXVG/i8IeEOx81C9xCva eo4P6idbZAe81jynWtZeTdaPsMjRuh4xw4mMzGv8NAFq4q0uH4x2sk+wxYxFJHQ4+uoRnb JxCT3n/EWtAqKvrjcz0KYkFlv0nQkfIM3AXul+QT/LYPwLEZu65E6a7lekfBsw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1712581846; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YHsV6dV1JqFTklSy7gQssuazIuqk646bANJQNohqk0c=; b=+5J4HMG8wFT28/4S1jqAmCUJ9dIQEkn4UPbO86VIxA709LPHclZlXwG4aFGsSBHcwkY4Rq 0nWI0M/oa/O8j2CA== From: "tip-bot2 for Jiapeng Chong" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] hrtimer: Remove unused function Cc: Abaci Robot , Jiapeng Chong , Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240322070441.29646-1-jiapeng.chong@linux.alibaba.com> References: <20240322070441.29646-1-jiapeng.chong@linux.alibaba.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <171258184562.10875.7996799448110945238.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The following commit has been merged into the timers/core branch of tip: Commit-ID: 82ccdf062a64f3c4ac575c16179ce68edbbbe8e4 Gitweb: https://git.kernel.org/tip/82ccdf062a64f3c4ac575c16179ce68edbbbe8e4 Author: Jiapeng Chong AuthorDate: Fri, 22 Mar 2024 15:04:41 +08:00 Committer: Thomas Gleixner CommitterDate: Mon, 08 Apr 2024 15:03:06 +02:00 hrtimer: Remove unused function The function is defined, but not called anywhere: kernel/time/hrtimer.c:1880:20: warning: unused function '__hrtimer_peek_ahead_timers'. Remove it. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong Signed-off-by: Thomas Gleixner Link: https://lore.kernel.org/r/20240322070441.29646-1-jiapeng.chong@linux.alibaba.com Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8611 --- kernel/time/hrtimer.c | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c index 70625df..cae9d04 100644 --- a/kernel/time/hrtimer.c +++ b/kernel/time/hrtimer.c @@ -1875,25 +1875,7 @@ retry: tick_program_event(expires_next, 1); pr_warn_once("hrtimer: interrupt took %llu ns\n", ktime_to_ns(delta)); } - -/* called with interrupts disabled */ -static inline void __hrtimer_peek_ahead_timers(void) -{ - struct tick_device *td; - - if (!hrtimer_hres_active()) - return; - - td = this_cpu_ptr(&tick_cpu_device); - if (td && td->evtdev) - hrtimer_interrupt(td->evtdev); -} - -#else /* CONFIG_HIGH_RES_TIMERS */ - -static inline void __hrtimer_peek_ahead_timers(void) { } - -#endif /* !CONFIG_HIGH_RES_TIMERS */ +#endif /* !CONFIG_HIGH_RES_TIMERS */ /* * Called from run_local_timers in hardirq context every jiffy