From patchwork Sun Jun 25 12:11:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 112573 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp6888959vqr; Sun, 25 Jun 2023 05:30:52 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6aHt/vLuT0OUvKFj8Ff34cEJhW1/BkfYeZ0VuAyPXqqW+Gi6gah+uGEjdEXOccTaXfRGLN X-Received: by 2002:a17:902:7445:b0:1b3:dcf1:97 with SMTP id e5-20020a170902744500b001b3dcf10097mr5311040plt.25.1687696252304; Sun, 25 Jun 2023 05:30:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687696252; cv=none; d=google.com; s=arc-20160816; b=d2MhPgHQnlGOvV21ktBOP3GVnq8rwr8JgJaLMd2xIStSDEadxSm88TBVw1FtFvnGUu 2z8N5iiIY9AkNebDe93BtdPzlBStsTNbIvn1SBFoAUeHxmTyIDlCeNm/7rhEYK5D1R5K qjjZDARkwvm57/cB1w8usMZIlRCWrB47wCVsVH0rcSl22K2N81XFGaqTZReaQPGvB+sT j7OZlO1BU9sAR60kDspPi4IXqOaHusl06BNol4B1rHvRvBUJdn8j8Oaoltxnrz3Sbp5u yEd7FG36AQsuiym2yQraYiDThqGWBOeBBv8XaStskjE/YhGgHNVFq9SopK61wdJYqbar plpg== 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=UgYVifP37AgNnQsudBIKCzkxE49y9lGkjS4URouJmpk=; fh=9iN/lA40cQfwwRZWXiRmqDJPz0LoUnyxPVTLEMNw/Tw=; b=U653UhIu9WyEMnBgBu+ofYFCzVcUmM510Va/XT9i+ByQhyv9OX4VpBihVYgZ04RGRO 64volw5W6C2IT5Z8nGbR+IGPAKpPRkoCmO6UzAKHZLuU5CJQBDxNWP54sJqYxJS7B/PG UA203RqbmNUvTKUnvVOUpXC7eOwqywIWnZ2MV5TWglnMvp+OTGoaDEo79OwB9zf+T4Dz XCVwcjUNDncP7Tmb0rvdkcVxMf4rN9MpRNOe5b7k3I+bCIcJon+oqwiGuKS9M8ViyzRo w46t/8TsINxqm8bB03TNdrGhziKc2rHKzkeVE6n49w0YIKKUmdIsguRu8lb/jg5UWEFs rqeA== 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 t19-20020a170902e1d300b001b3be6856dasi2750194pla.628.2023.06.25.05.30.39; Sun, 25 Jun 2023 05:30:52 -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 S232022AbjFYMMP (ORCPT + 99 others); Sun, 25 Jun 2023 08:12:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231152AbjFYMMN (ORCPT ); Sun, 25 Jun 2023 08:12:13 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34BCB9F for ; Sun, 25 Jun 2023 05:12:13 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.54]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4QpqYF0C08zLn4F; Sun, 25 Jun 2023 20:10:09 +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; Sun, 25 Jun 2023 20:12:10 +0800 From: YueHaibing To: , , , , , , , , CC: , , YueHaibing Subject: [PATCH -next] um/x86: Remove unsued extern declaration ldt_host_info() Date: Sun, 25 Jun 2023 20:11:20 +0800 Message-ID: <20230625121120.27584-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, 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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769677785290852112?= X-GMAIL-MSGID: =?utf-8?q?1769677785290852112?= This is unused now, so can remove it. Signed-off-by: YueHaibing --- arch/x86/um/asm/mm_context.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/x86/um/asm/mm_context.h b/arch/x86/um/asm/mm_context.h index 4a73d63e4760..dc32dc023c2f 100644 --- a/arch/x86/um/asm/mm_context.h +++ b/arch/x86/um/asm/mm_context.h @@ -11,8 +11,6 @@ #include #include -extern void ldt_host_info(void); - #define LDT_PAGES_MAX \ ((LDT_ENTRIES * LDT_ENTRY_SIZE)/PAGE_SIZE) #define LDT_ENTRIES_PER_PAGE \