From patchwork Tue Jul 25 13:58:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 125633 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp2497702vqg; Tue, 25 Jul 2023 07:09:58 -0700 (PDT) X-Google-Smtp-Source: APBJJlFWSYZIqqifSeAAnJM2Do3x/uP+RSHEajmIim5GovXF0ok3SCcno4USDHJIGa/7meQAYnB7 X-Received: by 2002:a19:c50f:0:b0:4f6:3000:94a0 with SMTP id w15-20020a19c50f000000b004f6300094a0mr7169450lfe.61.1690294198350; Tue, 25 Jul 2023 07:09:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690294198; cv=none; d=google.com; s=arc-20160816; b=HRap/Hcx9UvaeDN1lwmLnDegAYJfRb2wI2P1W8dPGnqBrSjnweCxKoEqO1WKcOgX5f pdcDhkJTLQmv6QYNeiCxNl6upqjRMZWeygEllrqvD+3TRpXgknPOzG7+YK0hMWYfJrwC T+cAQ5aJHphKBO7j6kneeEFhRtTKAho0HtyqVPd7L7wPMMJnyQxEoERFdQA9XilYL5Ei z/S4/vf2FlvKzWdcYz86Y3xEQW41fAK/0B9rLNzr6F0CNFeXn6rM+lCNV8W+PejAIwdN gbmYv/YICrHT++AzJaL40QS8tgDNgo+72BHnUVEyp3SfneP5GGaUvFUmj2356ScjkWAi M4jA== 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=51/31odzZ9eLpzjyYFHqurB6XdL/Onx6vT3Gu4MqNbc=; fh=kO3vNI950b6rpHnunS/WX3245WstzDg3JmbVKJfzWVo=; b=LvNVHIVIIWg82TEUumBE8QYRLBtx8jye24oUiV6hP9kwJRgUJgEIRVOy3BgXMV4bWL T0BvjYqtABuydtPtxCyH6uu7CHdJ1OVhIx00aw4Zzz3YmdS9kVF2CEuxO0it4rHMk58D hSLYJyfPtsaZrjc8tl1r0SSyScoPQdXj3rWN9U3xf/dKrtXhMJ4qUAr+GLZmfXKVMuTU BbzraRSkdEO5yYKytfuzg7wb1WBaXoCpSkRkeVu9HGiemieHjJCA52PMW9uoKGECycMb hDPs7/dJW9XeN9hA0UGVCq32K/5HLz7ka/WoYWwPFG5s8cANNKuOWY2/SHRx2XadEK83 6pAg== 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 j4-20020aa7c404000000b005223d4f6784si1766042edq.652.2023.07.25.07.09.34; Tue, 25 Jul 2023 07:09:58 -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 S231941AbjGYN7H (ORCPT + 99 others); Tue, 25 Jul 2023 09:59:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230309AbjGYN7F (ORCPT ); Tue, 25 Jul 2023 09:59:05 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9016BB0; Tue, 25 Jul 2023 06:59:04 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4R9JTK1ghSztRX2; Tue, 25 Jul 2023 21:55:49 +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; Tue, 25 Jul 2023 21:59:02 +0800 From: YueHaibing To: , , , CC: , , YueHaibing Subject: [PATCH -next] hv: hyperv.h: Remove unused extern declaration vmbus_ontimer() Date: Tue, 25 Jul 2023 21:58:34 +0800 Message-ID: <20230725135834.1732-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: dggems701-chm.china.huawei.com (10.3.19.178) To canpemm500007.china.huawei.com (7.192.104.62) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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: 1772401929491866023 X-GMAIL-MSGID: 1772401929491866023 Since commit 30fbee49b071 ("Staging: hv: vmbus: Get rid of the unused function vmbus_ontimer()") this is not used anymore, so can remove it. Signed-off-by: YueHaibing Reviewed-by: Michael Kelley --- include/linux/hyperv.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index bfbc37ce223b..3ac3974b3c78 100644 --- a/include/linux/hyperv.h +++ b/include/linux/hyperv.h @@ -1239,9 +1239,6 @@ extern int vmbus_recvpacket_raw(struct vmbus_channel *channel, u32 *buffer_actual_len, u64 *requestid); - -extern void vmbus_ontimer(unsigned long data); - /* Base driver object */ struct hv_driver { const char *name;