From patchwork Tue May 11 12:51:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zou Wei X-Patchwork-Id: 12250965 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=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,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 B5DFAC433ED for ; Tue, 11 May 2021 13:29:13 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5E88161288 for ; Tue, 11 May 2021 13:29:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5E88161288 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=n8WBDLHCefcnFbwZbDtEFKVwJktzUHY4wehOoGhbkLc=; b=PKY68lmRsoDjuEvwovOPx0YltC 0/I/rBQ8PysUBP8G7GLp/I95pW4jgzbU8ENBz3B21Y6drr+ZYYQZH6RaMaf5TXmJhxlPQs56OvtYc eblncTm2y5LnhbtHCp/tCLMv+9+DDClCCWONqNF0e3YnJ4hoHAQ3Dp/yy8Odq5GtlCBex2yQJWsNI HchjhD0lTo1Ob9mpwwN+OG0sfXcoOWPaBzFJA/brfzIPPK00AUQZCuzGxmVkWrXoMfkISSXzJlvBx kwO8mvXo5oPLagkaK5d4SqzRFRYfNxTjTDrvosTe+o5NkYSDskEnWVHw03DWU1sYAlPUyJhxKsL3u 3DipNpCQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lgSQE-00076d-0R; Tue, 11 May 2021 13:27:38 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgRbF-00HPhn-UW for linux-arm-kernel@desiato.infradead.org; Tue, 11 May 2021 12:34:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type:MIME-Version:Message-ID: Date:Subject:CC:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:In-Reply-To:References; bh=mFkfOltawPjEZOiR9Mx5yztqGJKwxaVbocsSC8NcUr4=; b=DYPQMgCa2Y0w1fdspDOCXzN/ot OzexKiROxCPmCbnsAEO3JcJ7tRpjPa9L2A6n4dF06/V69NY7+4KVV/u/T9yNWf8i9xHsEofhi5gVt lMNmnV14XxjzfcyOigsQLIBTyVQvsYUA1FBXNd+axK3drGLKIYuc1/5Zj8c47TxrhL8Ea+HC82qyh y4/kVDt/1tFW1TWSaFwHXhM8OFQZyvgbNzWH1eOerTGiDX9a3Ue6lhga774d3u0K+aMTi0vdNRYEp rBCyndm03Kt2aFT5T6WnBx1qLk3+ucre1RV/6+nwUcwVElCWmgg/xdFCCE3NkcpRSCHbwl4kh0cHp 7xbXqpPA==; Received: from szxga04-in.huawei.com ([45.249.212.190]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgRbD-009ZdQ-66 for linux-arm-kernel@lists.infradead.org; Tue, 11 May 2021 12:34:56 +0000 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4FfckN2gp1z1BKlZ; Tue, 11 May 2021 20:32:12 +0800 (CST) Received: from linux-lmwb.huawei.com (10.175.103.112) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.498.0; Tue, 11 May 2021 20:34:45 +0800 From: Zou Wei To: , , , , CC: , , Zou Wei Subject: [PATCH -next] clocksource/drivers/arm_arch_timer: Remove the unused variable Date: Tue, 11 May 2021 20:51:45 +0800 Message-ID: <1620737505-14757-1-git-send-email-zou_wei@huawei.com> X-Mailer: git-send-email 2.6.2 MIME-Version: 1.0 X-Originating-IP: [10.175.103.112] X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210511_053455_411151_57344AAF X-CRM114-Status: UNSURE ( 8.50 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This variable is not used at all, so remove it. Fixes: e2bf384d4329 ("clocksource/drivers/arm_arch_timer: Add __ro_after_init and __init") Reported-by: Hulk Robot Signed-off-by: Zou Wei --- drivers/clocksource/arm_arch_timer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c index fe1a826..89a9e05 100644 --- a/drivers/clocksource/arm_arch_timer.c +++ b/drivers/clocksource/arm_arch_timer.c @@ -64,7 +64,6 @@ struct arch_timer { #define to_arch_timer(e) container_of(e, struct arch_timer, evt) static u32 arch_timer_rate __ro_after_init; -u32 arch_timer_rate1 __ro_after_init; static int arch_timer_ppi[ARCH_TIMER_MAX_TIMER_PPI] __ro_after_init; static const char *arch_timer_ppi_names[ARCH_TIMER_MAX_TIMER_PPI] = {