From patchwork Sat Aug 5 11:04:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 131475 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp417620vqr; Sat, 5 Aug 2023 05:07:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEsA2J2yK7Hr1JdPvPoviVCYKbImcQVsymm1NdhBXQ3urNPXlhGKS4jjkIuSO8RU3LFMbY+ X-Received: by 2002:a05:6402:1208:b0:523:28dc:320b with SMTP id c8-20020a056402120800b0052328dc320bmr1490739edw.13.1691237257079; Sat, 05 Aug 2023 05:07:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691237257; cv=none; d=google.com; s=arc-20160816; b=Hj09a5QIx6DOGL8iabXmgcvWt21T8B8W1Ayf7oyUB/XlTHuF5tgro63u+vAim2skP6 TvE/6170/3bDc8gaW/CGlbfJ2O9aYMs97j5quxw+r4Xhtfx7lpi9E+Jmt5i8T96qy0eg UZZEGtMApDTpJJAgskURjAelWYGewUJ32lou8uWWzQkwFYORkuJaFdKS5DCERc49Ahk8 8EIvF5AHa0L9sIHQuCWhqBtqoz3HbJaWUCNX/KkKrlr4C9CHC0GOQQLfQAXoJ+ZNyCoR 7YO6z4Z6oiZ4i2klj6MrLY9yXNcAeiqU7frBN+LUS2AAf38kjT8hLDGgSpGUZa6UOSBa tttA== 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=pBuAYsng4m3mTNHxeCJjknJAX+Jsr6qHwqclhWvmNKI=; fh=3kOAnfmVu/E2s0efPzQkLlVDFs21ncrsP4Xv/xGRJ50=; b=WRlvkVQ2ZPEAjKPQwJ+zM01MubD8HpkBa8dtxxqLOk2T2zDSGysUHgFweloB7+dsaX KRrYZbdsG/t73TDyJ4RK6C4P2G6hy+EKyHRXXSK6TTNaH/MkzGGxVfol9pj2bNDsxw7m 8NJt87awx/2a4omiQN5CT4IcPjrMc0OWZUCLMxFw7Jo+spO+Suq4X00y7sXa3JNMhKJ7 LJy1ZOUA8Bu0PDMAoBMeNPGy9e3sV/7j/rDoFYo36g98/uiBUf/qml2gTvKB2+KM8JgD 3tj6Wc+oYcpXm02NZFUZ7ZtMsBw2MSq065jmZgv90ruAOBmQfiVLkbzAY6UFHBciN+uD PsCg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bm11-20020a0564020b0b00b005232dadd394si133752edb.296.2023.08.05.05.06.55; Sat, 05 Aug 2023 05:07:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229896AbjHELEl (ORCPT + 99 others); Sat, 5 Aug 2023 07:04:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229511AbjHELEj (ORCPT ); Sat, 5 Aug 2023 07:04:39 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 370C04215 for ; Sat, 5 Aug 2023 04:04:38 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4RJ07P0W73zrS4q; Sat, 5 Aug 2023 19:03:29 +0800 (CST) Received: from localhost (10.174.179.215) by canpemm500007.china.huawei.com (7.192.104.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Sat, 5 Aug 2023 19:04:35 +0800 From: Yue Haibing To: , , CC: , Subject: [PATCH -next] cpu/hotplug: Remove unused function declaration cpu_set_state_online() Date: Sat, 5 Aug 2023 19:04:06 +0800 Message-ID: <20230805110406.45900-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To canpemm500007.china.huawei.com (7.192.104.62) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773390798096124832 X-GMAIL-MSGID: 1773390798096124832 Commit 5356297d12d9 ("cpu/hotplug: Remove cpu_report_state() and related unused cruft") removed function but leave the declaration. Signed-off-by: Yue Haibing --- include/linux/cpu.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/cpu.h b/include/linux/cpu.h index 6b326a9e8191..ed56b2534500 100644 --- a/include/linux/cpu.h +++ b/include/linux/cpu.h @@ -191,7 +191,6 @@ void arch_cpu_finalize_init(void); static inline void arch_cpu_finalize_init(void) { } #endif -void cpu_set_state_online(int cpu); void play_idle_precise(u64 duration_ns, u64 latency_ns); static inline void play_idle(unsigned long duration_us)