From patchwork Tue May 11 07:48:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jisheng Zhang X-Patchwork-Id: 12250781 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=-15.9 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,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 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 08812C433B4 for ; Tue, 11 May 2021 11:56:46 +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 5349061108 for ; Tue, 11 May 2021 11:56:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5349061108 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=synaptics.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:Subject:Cc:To:From:Date: 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=tOxl27xiO1cjeKLwav0Xgssise3J/wMGRKWxehQV9lo=; b=meVWlrk5PoqDUe07ejRf5a4OmQ +FW9SqVrXV4biJThbMfWyNys2yS2QYsKp2+z+ps4rym2q+G28YKMfosTyO1o2a3PAn3oYVMJoDTfw G38zjiy1taLY79ETzxW6dtRk4t0ajZTNcq5vSFruKuuSTdYtsujIcvTCYQ1DzLoDiWwl2xssWCJga y2hRir1l5HCLAHiC+ZI0jo1IFKNJOeW70W84s7YkfMb1jhfMVxrK52k/G1TMMQDPUCtDRRGzFwZ13 cgW7bBrq4p3Fmihk0ojXPDeQ4UROSG64Q2kHs+W8IjGl90vH9fJBDPJCdYfUzFpAjsUhV7uRR3v/r t9hEmi8A==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lgQyo-00HEzH-0x; Tue, 11 May 2021 11:55:17 +0000 Received: from [2607:7c80:54:e::133] (helo=bombadil.infradead.org) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgN8x-00GXhC-NG for linux-arm-kernel@desiato.infradead.org; Tue, 11 May 2021 07:49:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=MIME-Version: Content-Transfer-Encoding:Content-Type:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description:In-Reply-To:References; bh=4fwgXfYDjwFNC4mZ3tXONWogCB2KQ08YrvSGVEzmArM=; b=CqF9NCViSPltoOCAYnfyEfL01Y zd4E/SP9+kdM0I6tyooMr0V1QkM3ePNEhou0tq9SPNFfnEcBOwW7MVQAgBy+yXAy3CNhqXVqbtuDi xj2pN1CPt3xnoSP+p3d5fvAP11L8sD2uhMngJM+QiToR8iSb1wsw3Rgnc1LFpfqQyOiG+a42T6Nlb j1k6PJLkcY683eFwMBUA4KWkvu+w+hNsSZbYshFSRAFa3QJA05RrLYtknOQGFUtS7bCyWUSjw8B2e oOUy8UwD6jcw8IOQHvfmBtGod2QpblH4ezMOSGV1ihsMVuvg3MrnjK3rsbk193500jP04oPoalUzj nzuu+eyA==; Received: from mail-bn8nam11on2069.outbound.protection.outlook.com ([40.107.236.69] helo=NAM11-BN8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgN8r-009NBR-9d for linux-arm-kernel@lists.infradead.org; Tue, 11 May 2021 07:49:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JhKsdJqdFyAwWCm6drGJ4HC/LqZK5jizOaJvOLz+UurhpXczc3sVBmU3cPAhyPeHCpyX0i0lO8iuf+LSGHFTjtiOdMiHnz00imrRWZBbYfkktI4ACvfQFdkZMl1T3YHJxtTZpShuToCu5lGyPOJT7GSsDU2AtrOJ4FejB16pksWlQtGLxnlEnIDoagGrqmJSYVatI+V8Bbg9Wuor4Pq5KoVSkI1N8/cHAhIPbacWrLVZkKnqjSbWi/uSeq10f6BZslkAJ8HOgcZapHdESL5GGWgof7tZZACE86BskP6J+kongH/G5z0A3/wBfP8lB896QaKsH4fEu5Efj9L3omlogg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4fwgXfYDjwFNC4mZ3tXONWogCB2KQ08YrvSGVEzmArM=; b=E1HBhUs0U3RdGAmj5S94nxitHfBV9nNa5R620WdSqwz7xnNKw6I2HZCpOuXjEN8MNQefvRGr0SEpxmrPGiYibDgLnMy6bKswXDifF/u+1gPHcBK9d5cQzNYpawukV+RMYY/gVnNBT2fSbtAJ32+0jd9pZYT7Ia+cYKZq2XbheiOcmF3x8/PF0XqDackmEmjV2pxWhxTQWr6/e7V36WXHjZgHGgI+Qq68X8p2ws+TW5PbmCLylSXSwrlS1k4ddvUbRf4ueeOxPZHtnR29x7jkWMsGETh4NnH38cYhEFE1nW7g6/r/G+BgssRyA+lhH5/7la9p9cFdn7iMfKCD7TJjhw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=synaptics.com; dmarc=pass action=none header.from=synaptics.com; dkim=pass header.d=synaptics.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Synaptics.onmicrosoft.com; s=selector2-Synaptics-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4fwgXfYDjwFNC4mZ3tXONWogCB2KQ08YrvSGVEzmArM=; b=GSpT4azzoRkhqbcO3Zi18/egPfP67QEt/m5fVnSkIpqiPgfGiqyO2Ix+raZOKtTJaquZaeC8szBv6qqg3gxGv4HyxPpkb2wnu7e2+NvgYcsRGaP3975aO7dEgohd0Ey1kBL+EB8dbnDYJL6DM5wiVuqHsvRCmY+1mjInknzFPvE= Authentication-Results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=synaptics.com; Received: from BN9PR03MB6058.namprd03.prod.outlook.com (2603:10b6:408:137::15) by BN7PR03MB3841.namprd03.prod.outlook.com (2603:10b6:408:24::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.26; Tue, 11 May 2021 07:49:15 +0000 Received: from BN9PR03MB6058.namprd03.prod.outlook.com ([fe80::308b:9168:78:9791]) by BN9PR03MB6058.namprd03.prod.outlook.com ([fe80::308b:9168:78:9791%4]) with mapi id 15.20.4108.031; Tue, 11 May 2021 07:49:15 +0000 Date: Tue, 11 May 2021 15:48:56 +0800 From: Jisheng Zhang To: Mark Rutland , Marc Zyngier , Daniel Lezcano , Thomas Gleixner Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, zou_wei@huawei.com Subject: [PATCH] clocksource/drivers/arm_arch_timer: Remove arch_timer_rate1 Message-ID: <20210511154856.6afbcb65@xhacker.debian> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) X-Originating-IP: [192.147.44.204] X-ClientProxiedBy: SJ0PR05CA0078.namprd05.prod.outlook.com (2603:10b6:a03:332::23) To BN9PR03MB6058.namprd03.prod.outlook.com (2603:10b6:408:137::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from xhacker.debian (192.147.44.204) by SJ0PR05CA0078.namprd05.prod.outlook.com (2603:10b6:a03:332::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.12 via Frontend Transport; Tue, 11 May 2021 07:49:12 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 92950bb8-1f55-4dc8-5315-08d9145145d6 X-MS-TrafficTypeDiagnostic: BN7PR03MB3841: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1303; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: X1RHyqzpVjTU4ffJGbRsrJda2o1qNgyXa5tugymShGtY5M8G4Ghukct3gzT2oVAAoO/z+KvHDgmyma0cmadc+EmW2t1rN6Ejdsh/DEIyTgHzAyLVT2aeOGjx8P0Z2GNncJQMkfWOr8HGkHeudx5FNwmsk+fWhbn3RkKAKFMb8Os7FjaIxlnq+pqzaG0LPREOyxUxhgymqbPd4EojwEy+nXVUUjZrvDPt0UI5CA8Qfg4byirvJpmRgRyAuXOYwYPPmazKtCGRLA0LleN9QWQDMDD2Aoq6F9hepoEKkOz+JZudg+WkPuBBKU8oLzE1Y3whYu7oTRLNiGSJGi4IAAiSEwT+VVn1eesMdoNiZttKEw9zH+3VP4/o08Zbt+xNBS1v6x8zGFVexXgJGlhI+8zAZF5gfTMPpaSwl1XLsqD+Ij3DV1kLoM9tVftKZGQB/h1acJzhkjeoU8hBf+4ud22xOa079boSc+0tpaCD+cN5ubdy2YSk/cvlArStdX5FZirZSzmJoT/0aZywTlD/AO/OLyM+36Z5zDMPcy3xDVMlNrgxRbG4RDhF6VzZRm/AMJRlEz25SCLjA99LQ1TqGxZWsjG9h7QpShxPDPUv2NXe1Js00JTFGnFgVENIMkg/DI2KY6fknyIqHslO2GYJX9DYKUVfCo8LpXib5et4fHEHV4E= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN9PR03MB6058.namprd03.prod.outlook.com; PTR:; CAT:NONE; SFS:(346002)(39850400004)(376002)(366004)(396003)(136003)(8936002)(8676002)(110136005)(83380400001)(38350700002)(38100700002)(4744005)(478600001)(86362001)(1076003)(316002)(186003)(26005)(5660300002)(2906002)(956004)(55016002)(4326008)(16526019)(6666004)(6506007)(7696005)(52116002)(66476007)(66556008)(9686003)(66946007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: h9t8uMosFNPN8VBMlzGiJaxdHjc2oXm69F9L7la8BN4qxfmameL24qaQB2MK5Mbba4HhTfCkoCTwZpxrqYrgAxgLpiZjdmV8uAgZPz+8u0cINIvr47jm9tIEyk05Ll7aeVkxd24hk7IWNP2PhsaBDNLIhOtnEdfkBFs+9/9enl7EhQKPbqYpuJXe0uR9FTTD8u51AcnSuzOQXshr7m6dX/N6fs2aATB0HOUWpGWEyVtkImTipG8W/M7oUxqTQmqQhY2vSTuUO2iJApVhnbfESSTK2NjwriojQ3iqnvGNso4P3slnUCGTsD03T4RApi09d5vIxg0V/3jq4GDadO00Iqhzg+njVk/ISAO0rQWTbDPCeothWiPeRAonpp5hIrSjPrIy6wv5DJyPvQ2nSGAUSn6sTtwuFzwS1T+0HwN2g1EC5ZAmDhIkH0dzDexUXNJxuVsxOJBcd1UoNWIbnOSjbU0jbubf0B/p1OLIQoORZQkyj124PwBFU1eULMnt2DX8RH4g0eMpS4EXcgs0pH8McjiZpeJIdDADty6kpjD8xwu5eIlndm5AMUxlcusqVWdFFehdLjvPfw8BgOobDubVOcJZyl8PYjpUva8XRFFA5nflj7cHkF/kFgAWeFKWJeXqDEn5Paf/5j7AgnU60oEGn75gCZ045TWmVghjRYW4rTCMlo6g2Ucat5DTsfPjkRIiYvVGI4jMJBjs/inxi4kIM1dxZfotpKEvRQcKIuYB7qtvAdbvyZtQCTJFXJ7ptLwirT8hi69+e0hbsIihixokfnVN4R6nZ1je5O3mdiRD88MQN8j5QrJFg62gUIcHXmVcOhP5j5sYCU+YDzpuI32ENdQJhd0adiXnlkCdK3kgrr6fIwDi5RPcPG+CH2+deCcZj7afOwtzTSdc0YdhehLhzfCKNAmP9x08xL9XYF9e3954dNIjqJd7iclDxDLAppMmp8G+aDFCULcyx9TixzP5kfhLeGBtjyXIkCEDuhb5prspXMK9Tb+UwkeQG7gpUvVX0Q+sYifRRSMBbmrlhWpaJ7PWNIxC4SQGAOfapMhbUymPU5hgsmsYNmOfLIGYXVJjvMYwxVA2K5uB9j5NTR+N/b6mIHJsFRoQszMRNJQuYY9M7fyJIEfFG6IJBLrP0MMnHLmeYK4Hlaf+RowL0EzjOyvA5WvsNKQHQ+34Y4yulfpTEAkKZTSDFyqp9kNZlA3EZkFhMKzSt5oc1yqhslKBIsF4cdpinAsPYdOcGBjZR0pddTDASNRHez6omzV6VWBchEednQxAotsf/Xjsh3Qbo+mcM6LlYLs/HSsZziL0hz3BW2E5tW7ITynqO+1rHdih X-OriginatorOrg: synaptics.com X-MS-Exchange-CrossTenant-Network-Message-Id: 92950bb8-1f55-4dc8-5315-08d9145145d6 X-MS-Exchange-CrossTenant-AuthSource: BN9PR03MB6058.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 May 2021 07:49:14.8466 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 335d1fbc-2124-4173-9863-17e7051a2a0e X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: oCi34nTIOlCFJguXJNixOCIfvUd46MqHfoUqRiL5Su1ULtdTCpkq+llJpA/391O6XVLhKMMGCMxhmGZxsaOotA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR03MB3841 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210511_004921_367992_A1B125EB X-CRM114-Status: UNSURE ( 9.62 ) X-CRM114-Notice: Please train this message. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210511_004921_367992_A1B125EB X-CRM114-Status: UNSURE ( 5.41 ) 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 added by my mistake, it's not used at all. Fixes: e2bf384d4329 ("clocksource/drivers/arm_arch_timer: Add __ro_after_init and __init") Signed-off-by: Jisheng Zhang Reported-by: Hulk Robot Acked-by: Marc Zyngier --- 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 fe1a82627d57..89a9e0524555 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] = {