Return-Path: <SRS0=D6dW=6A=vger.kernel.org=stable-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 31FF7C2BB55 for <stable@archiver.kernel.org>; Thu, 16 Apr 2020 13:39:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E8D42221F9 for <stable@archiver.kernel.org>; Thu, 16 Apr 2020 13:39:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587044354; bh=DnhV3xz/x4XRsC1XfxRUhWiPOn2zTkhzOVSi4IXhi2w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=ULGFDYroyCtort1SZ7siCWZzw7nAf7SNRKxCxTu4CVWS5Fw8qXHq1HCb/kDbCCxEK 7DvC66qvrjd8+Sib0z9of0CaE7ufZZQLmJRKZcRV2yGSMIh8tECWOzSfnIfn2f5FT7 6P18R6w+GOP/n1O+tUeBI90QGQFLOLhlrhq8GaQg= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2897785AbgDPNi5 (ORCPT <rfc822;stable@archiver.kernel.org>); Thu, 16 Apr 2020 09:38:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:51376 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2897778AbgDPNi4 (ORCPT <rfc822;stable@vger.kernel.org>); Thu, 16 Apr 2020 09:38:56 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7BB49221F9; Thu, 16 Apr 2020 13:38:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587044336; bh=DnhV3xz/x4XRsC1XfxRUhWiPOn2zTkhzOVSi4IXhi2w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kKUxYjtpAiyYaBlcj/RX8lG+lWiMf87GePB12/ie/9o7pP6KD4Cny/Qo053vxbHJJ UTMuxbDn6cJzpH2rivZyFHMhgJaJ8W6reGueJQ27pP1UETbv3WTSH1SGQvP4Kv7Zql +Ze66ljLBLdcw3fIO8/3q2x4Dk2PF5TAWdy5pAl8= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Scott Wood <swood@redhat.com>, "Peter Zijlstra (Intel)" <peterz@infradead.org>, Ingo Molnar <mingo@kernel.org>, Thomas Gleixner <tglx@linutronix.de>, Guenter Roeck <linux@roeck-us.net> Subject: [PATCH 5.5 177/257] sched/core: Remove duplicate assignment in sched_tick_remote() Date: Thu, 16 Apr 2020 15:23:48 +0200 Message-Id: <20200416131348.502394737@linuxfoundation.org> X-Mailer: git-send-email 2.26.1 In-Reply-To: <20200416131325.891903893@linuxfoundation.org> References: <20200416131325.891903893@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org
From: Scott Wood <swood@redhat.com> commit 82e0516ce3a147365a5dd2a9bedd5ba43a18663d upstream. A redundant "curr = rq->curr" was added; remove it. Fixes: ebc0f83c78a2 ("timers/nohz: Update NOHZ load in remote tick") Signed-off-by: Scott Wood <swood@redhat.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lkml.kernel.org/r/1580776558-12882-1-git-send-email-swood@redhat.com Cc: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> --- kernel/sched/core.c | 1 - 1 file changed, 1 deletion(-)
--- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -3677,7 +3677,6 @@ static void sched_tick_remote(struct wor if (cpu_is_offline(cpu)) goto out_unlock; - curr = rq->curr; update_rq_clock(rq); if (!is_idle_task(curr)) {