From patchwork Mon May 10 21:26:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: thermal-bot for Julien Panis X-Patchwork-Id: 433509 Return-Path: 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=-20.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING, SPF_HELO_NONE, SPF_PASS 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 536F6C433B4 for ; Mon, 10 May 2021 21:26:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0EC9A61584 for ; Mon, 10 May 2021 21:26:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231661AbhEJV1Z (ORCPT ); Mon, 10 May 2021 17:27:25 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:39148 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231434AbhEJV1Z (ORCPT ); Mon, 10 May 2021 17:27:25 -0400 Date: Mon, 10 May 2021 21:26:17 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1620681978; 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=be3M/VI7WmSNKkHBvyRjZ9A4GL1X51BAFA5few+WcDg=; b=1ZO3ZV/9AT1d5xVjvesTwm5dVY6a8iUUOBMXmXjyyDd1JQl/Kwjd9csSGWZUj8C2c+drcR qPUQfe9XYvDGzOFxSQjjFVuv3MaPso2cLvdct7/AF0Fo3zMaQVGW5wF6/0h8LByJ+tOfSt UTb0LGgczpmvhstMr4DMc8Iwhq+RsBp2UihN2XYPYSnqQppLqW5T1W6C2wYWumkAnKC5LK VTbWoSBgwfCYx4JCM9lU0pNrLvFFGf4dHBJxCg3f1qPF7ioSA4JPF0njr4/Kc7GHdD4GQZ MAfnwKwWa7Tn2n2Jk5KksWaGmkJYv2FTH+FRCe+qrIRIc1V4+2M7XpEEgiT2NA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1620681978; 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=be3M/VI7WmSNKkHBvyRjZ9A4GL1X51BAFA5few+WcDg=; b=b2unN7hxml6h9U8Qnf4CwkiWAdDIIb90re10viaLNjYoFgM8w+hDOQ5KCZ1hkf0dtt0HQN bqcm/q93tLG1OBBA== From: "tip-bot2 for Eric Dumazet" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: irq/urgent] sh: Remove unused variable Cc: Eric Dumazet , Thomas Gleixner , stable@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org, maz@kernel.org In-Reply-To: <20210414170517.1205430-1-eric.dumazet@gmail.com> References: <20210414170517.1205430-1-eric.dumazet@gmail.com> MIME-Version: 1.0 Message-ID: <162068197779.29796.8057893203111183466.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org The following commit has been merged into the irq/urgent branch of tip: Commit-ID: 0d3ae948741ac6d80e39ab27b45297367ee477de Gitweb: https://git.kernel.org/tip/0d3ae948741ac6d80e39ab27b45297367ee477de Author: Eric Dumazet AuthorDate: Wed, 14 Apr 2021 10:05:17 -07:00 Committer: Thomas Gleixner CommitterDate: Mon, 10 May 2021 23:23:04 +02:00 sh: Remove unused variable Removes this annoying warning: arch/sh/kernel/traps.c: In function ‘nmi_trap_handler’: arch/sh/kernel/traps.c:183:15: warning: unused variable ‘cpu’ [-Wunused-variable] 183 | unsigned int cpu = smp_processor_id(); Fixes: fe3f1d5d7cd3 ("sh: Get rid of nmi_count()") Signed-off-by: Eric Dumazet Signed-off-by: Thomas Gleixner Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20210414170517.1205430-1-eric.dumazet@gmail.com --- arch/sh/kernel/traps.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/sh/kernel/traps.c b/arch/sh/kernel/traps.c index f5beecd..e76b221 100644 --- a/arch/sh/kernel/traps.c +++ b/arch/sh/kernel/traps.c @@ -180,7 +180,6 @@ static inline void arch_ftrace_nmi_exit(void) { } BUILD_TRAP_HANDLER(nmi) { - unsigned int cpu = smp_processor_id(); TRAP_HANDLER_DECL; arch_ftrace_nmi_enter();