Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3133833pxj; Mon, 17 May 2021 18:40:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8eR7X4QDZRtPHyCbgFqYANBtZWFsepO8YZxmo2cbIsFPBPOwzgYMW/AGuE++S9i86+RS/ X-Received: by 2002:a92:ddc6:: with SMTP id d6mr1494577ilr.51.1621302036408; Mon, 17 May 2021 18:40:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621302036; cv=none; d=google.com; s=arc-20160816; b=FEM1VrvFvhtxHSqvQCBby1JBD3ZtzXZyJs3ES2I5iCcIWSgcRXMpdfquoEwQS9D8k7 pp+wA3g5v3bYQDwao++yc29RKPT9KiZeXJerQy0z2tbI3WpK4qDXspII//qJW4WDR+mP is9HIrYauxCjf02mmeB0L+nMSdbZU6dd3PsOjKc4unYUMOnYkUKWwUc+qbe+KG7gw69x DR1zrJEABSnbQxzoeyMjCwgSwYJW3OHPm5DEtEquflhiExgdbknuwALtsi34sbk6PfSZ opxUkWwE6ddN2jsxhauc8WjWYUL+swvfc+Fm0CRzVnpsTGj6n/sDHX+UHsUtxaweSLDq G9Ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=uYEehVXx8NWsEPXolxe2XELsdIjMlc2umsw73jB/K78=; b=wU0SpEaCcXtrO6DifDMJPGDgLe8yJvVUD2HtfETkexyVtCrXNy8i2Xm4MJMaVujOGt TAWpP/xoK3dKeSHQ+TnsBeQSarF7xLSTqMZXKY4TIDicVFW7mZ3kTcLgUuxtAqVh/xl0 C5w2lDo40rr1IgN7BlUklLmsTsFOTGTL8k77MXKhUeKtBSFEu0T8J1iShwyeCn/Z6sQd DQFI3OeCuRPmYKLCZAO1ay4zv+tqDh5H3KtQTmGxAGGzQwONhSMPVI0ZFXeLyzkAiXbJ PcLxgXxWq160hB5ee+wH/9Zc193ZPW958UqPr7iYUCNIUW7lyj6EYdC713481EOPD0rW 9sTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="lPez/X75"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h8si19614761jas.102.2021.05.17.18.40.24; Mon, 17 May 2021 18:40:36 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="lPez/X75"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237933AbhEQOfp (ORCPT + 99 others); Mon, 17 May 2021 10:35:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:43232 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236504AbhEQObk (ORCPT ); Mon, 17 May 2021 10:31:40 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4CB196186A; Mon, 17 May 2021 14:15:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621260928; bh=oDdmwiAs4OkF35TIcoVtoX+ScytIn7uyrYIh5qLdz2w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lPez/X75jb8TqMxtM1H4F2d+aRtIOrRBWDNmyxxJOcrgjhSD31aVO3nadz/ynqPiF k3HhRnNdI4/LpcwbWWTAkX2e/gOoK0CyvwKPGnQkOYzSn0Qa5DoewBuGwAY9IxkAet 3uKiD72L8C2klICtGAx3cKgJseQafIaGtE9RzYFs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Eric Dumazet , Thomas Gleixner Subject: [PATCH 5.12 251/363] sh: Remove unused variable Date: Mon, 17 May 2021 16:01:57 +0200 Message-Id: <20210517140311.078763547@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210517140302.508966430@linuxfoundation.org> References: <20210517140302.508966430@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Eric Dumazet commit 0d3ae948741ac6d80e39ab27b45297367ee477de upstream. 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 Signed-off-by: Greg Kroah-Hartman --- arch/sh/kernel/traps.c | 1 - 1 file changed, 1 deletion(-) --- a/arch/sh/kernel/traps.c +++ b/arch/sh/kernel/traps.c @@ -180,7 +180,6 @@ static inline void arch_ftrace_nmi_exit( BUILD_TRAP_HANDLER(nmi) { - unsigned int cpu = smp_processor_id(); TRAP_HANDLER_DECL; arch_ftrace_nmi_enter();