Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp569862pxp; Fri, 11 Mar 2022 09:48:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJyiB2nLrczRbPKUXA0mk2egPdJ1GgzkkMhcN5sAZvjNzyouifGQnkut5bQ3wnWFeII04V86 X-Received: by 2002:a17:90b:3716:b0:1bf:691f:52ad with SMTP id mg22-20020a17090b371600b001bf691f52admr22855880pjb.202.1647020910321; Fri, 11 Mar 2022 09:48:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1647020910; cv=none; d=google.com; s=arc-20160816; b=i4NNcros74edthjqcV1N14slBzfU08xm3ZBt5JgChbmFmBxeHhhoKKpwBMS+i70OQc iHm6ha5MO3HB0i31+33AuBfeD7TFMFkse+dlntd1RDIJmzySnW+v9rKV9OnsjbCvC1y2 GYc0KAHs2Y4tSnR2rpXhQfOwATHbNvl0vDH7V8QBH3g4GJ9hMJxrTa2qt2A4p5uJNI6w SW0zbDXdxLnVjaOC7VkAmAEh2tIJNCrMIHEldTZJILwplHcuDUYo4yh66xgMGaubtZy2 +Im15/2rcgpdW2DtYkloSmfHDcFfPT3YosI2WZ5PixRzNp0fW6tVdD/hApCo3mocEZZq Vs5w== 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=Ue+84upH7uZjHtJe34KtPThAxInODb1O3nYU7AXYlko=; b=lWOZuJIwIh7IijRM2dl4UgLzvChc8jmYuedPZEvW1bk9AFWRD8YqBX7dUwVrfL4VrP KLPcPrV2fYt7nVfeqmIOsgRel77BoCTzz2lwTq0iayKDF/D+zZYkf1Np0pS6QvYCnjFE arSVqo19yC04XQI2qlbV1naBGmDA5pt7baV9jxB3j/yo0KnMh0klKjzTJMxRv3VPlv76 0TDXtymGjkQ1k86UnsPccgMhpMPA5QYmmxRKNmU5GOxA8Uyh8NHpRdJEZtg4zlwflnLD iSxXJz1ul/xm1fZVCMtF+OM9W6LGt3ySxYzqIyAd2YORIQCDz6ta8QZhEXxZ5zq10M8I PQ3g== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e193-20020a6369ca000000b003810f1120d5si1893185pgc.818.2022.03.11.09.48.16; Fri, 11 Mar 2022 09:48:30 -0800 (PST) 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 S1348684AbiCKNB1 (ORCPT + 99 others); Fri, 11 Mar 2022 08:01:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243439AbiCKNBZ (ORCPT ); Fri, 11 Mar 2022 08:01:25 -0500 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B4661C0256 for ; Fri, 11 Mar 2022 05:00:22 -0800 (PST) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.56]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4KFQtD61mHz9sYt; Fri, 11 Mar 2022 20:56:36 +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.2308.21; Fri, 11 Mar 2022 21:00:20 +0800 From: YueHaibing To: , , , CC: , , YueHaibing Subject: [PATCH -next] powerpc/kuap: Remove unused inline function __kuap_assert_locked() Date: Fri, 11 Mar 2022 21:00:17 +0800 Message-ID: <20220311130017.22936-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain 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=-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 commit 2341964e27b0 ("powerpc/kuap: Remove __kuap_assert_locked()") left behind this one, remove it. Signed-off-by: YueHaibing --- arch/powerpc/include/asm/kup.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/powerpc/include/asm/kup.h b/arch/powerpc/include/asm/kup.h index fb2237809d63..d751ddd08110 100644 --- a/arch/powerpc/include/asm/kup.h +++ b/arch/powerpc/include/asm/kup.h @@ -52,7 +52,6 @@ __bad_kuap_fault(struct pt_regs *regs, unsigned long address, bool is_write) return false; } -static inline void __kuap_assert_locked(void) { } static inline void __kuap_lock(void) { } static inline void __kuap_save_and_lock(struct pt_regs *regs) { } static inline void kuap_user_restore(struct pt_regs *regs) { } -- 2.17.1