Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp14441841pxu; Tue, 5 Jan 2021 01:24:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJy4A/lgS3nOyg3F2Ez/Eelmhs9HLY5WFa5UyxwsAFsOOwV8Q+plRu/nCOazaqocMtExQ/lq X-Received: by 2002:a05:6402:352:: with SMTP id r18mr73572702edw.373.1609838696174; Tue, 05 Jan 2021 01:24:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609838696; cv=none; d=google.com; s=arc-20160816; b=nrxc7BT9uh+dKL46csYgDUwESi6AqfsL7Z3R7gg0PI3OCr9J+0CZ9oqmwKDQQfbrCW ItoU+m28jT/yMewBhZQsMCPUMUWN+rqMYwbgzQm19QyjxPK/m1vqCol0cPZ6nCgQqV12 rt0N5SeNHudT5+ZTxIQLXTEdk5yKhytVz4tAzlst60TaaSF5s+F73SGGXp8Tc2enaWSc dA4VLspSL5m4W6xvokty3idXcRP6e6ad5hjKx92jQnEt9SLP79ph3UvaztuMNLXO7/7G iFfc2WKtjEXcGcRiKxOTwWTGr7vasWq8NHxKL6z0F2ei3RMUEa3R70YMW6gGugUj1lJj nGOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=onCX7+hdLsCL80oe7tecXhWBhCoMCUpL0/JG1c05ukc=; b=NrrZUfPptXnl7IMENbR9I73nu6Ot3VCxKDnn3F2Y2PKQT7AUnXLLCiWg34kh9gImUP 2WF2MsEPcfPIipTKncUhldnl80skJduJ0UTE5gfnc4BeuqOVBOodLsyKcBmXh2qfc4cE m6VEjJJzcGLLO4bSeI3EEGGhx9I9/vOAHOwVd17WG/h54Zr3oBgstTdGHWJ2GFTc3rQr KeY/waOg61wkP8SijCmPRRG/PZi+PLuOa9zBroKDyxswIN4r3Suu5S928fhL+3JxPg+J l60fu+Ya0UL05smQRPs0jZKZDSuCkiL3alzzGtNbE/VB2CugrnzHnc+B/ZNbjTIkXD6J CgKg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e25si29786848ejt.153.2021.01.05.01.24.32; Tue, 05 Jan 2021 01:24:56 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727953AbhAEJXg (ORCPT + 99 others); Tue, 5 Jan 2021 04:23:36 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:9715 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725860AbhAEJXe (ORCPT ); Tue, 5 Jan 2021 04:23:34 -0500 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4D96Sc6ynhzl16w; Tue, 5 Jan 2021 17:21:36 +0800 (CST) Received: from DESKTOP-5IS4806.china.huawei.com (10.174.184.42) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.498.0; Tue, 5 Jan 2021 17:22:38 +0800 From: Keqian Zhu To: , , , , Marc Zyngier , Will Deacon , Mark Rutland , Catalin Marinas CC: Robin Murphy , Joerg Roedel , "James Morse" , Suzuki K Poulose , Julien Thierry , , Keqian Zhu Subject: [PATCH] arm64/smp: Remove unused variable irq in arch_show_interrupts() Date: Tue, 5 Jan 2021 17:22:21 +0800 Message-ID: <20210105092221.15144-1-zhukeqian1@huawei.com> X-Mailer: git-send-email 2.8.4.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.174.184.42] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The local variable irq is added in commit a26388152531 ("arm64: Remove custom IRQ stat accounting"), but forget to remove in commit 5089bc51f81f ("arm64/smp: Use irq_desc_kstat_cpu() in arch_show_interrupts()"). Just remove it. Signed-off-by: Keqian Zhu --- arch/arm64/kernel/smp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c index 6bc3a3698c3d..376343d6f13a 100644 --- a/arch/arm64/kernel/smp.c +++ b/arch/arm64/kernel/smp.c @@ -807,7 +807,6 @@ int arch_show_interrupts(struct seq_file *p, int prec) unsigned int cpu, i; for (i = 0; i < NR_IPI; i++) { - unsigned int irq = irq_desc_get_irq(ipi_desc[i]); seq_printf(p, "%*s%u:%s", prec - 1, "IPI", i, prec >= 4 ? " " : ""); for_each_online_cpu(cpu) -- 2.19.1