Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1902644ybh; Fri, 17 Jul 2020 04:31:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxB9LvdXBJLwx5ZdGR170rURz7Bvq/v4t79aPlaMup9KBuhjPPEhP+0Y4uX86IAoTYVkeZR X-Received: by 2002:a50:cd53:: with SMTP id d19mr8966365edj.300.1594985461414; Fri, 17 Jul 2020 04:31:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594985461; cv=none; d=google.com; s=arc-20160816; b=nHVV4/uRII1PvD1NbSl8+IIAcpzNAAVy89eqsWD8O2zZ6FnTk6lRHk5ep1dtHYQ+xY unP3z6BVsrQL8ACPtcZrrwCcLL+jm5l6+iKIEqMSTSiCvoTpM1Oh/acqWrCsMSdQsA2J a6AXLjeWyvDSU85LyrPHXCys3WONFbzy704QhQ7sZxnuD4WN7hiXL8iERjQCGTF4fwOh AZ/vZyduAMIy6WAZ5FZ3gNLMqF2QF2HDNlDaex0SmG4C4+H+omJCxoHMEPfgTTzXeILd +mhi2MhZy2ry4jXNxyhHfm5SO1zDF/DekomQu+u6yMbYwS/Lc2hlvet3/LD2Hm8Iy60V KrtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=+8QbU+ZZKRO4zHdD9cYex4+aGO9nvm5vCBDPgIYQLnk=; b=KV9BI0DuQjTmuQAdUQVyMx9ixM0eMoUD53uVhdqlS/gMIiAFuerPCN5EsvEYRSCOka USau3xstQP64WhD9VXyNZ6kL6p3viVesYCLFkvbgAWp0vQO25AuSutQqQi9GYYcuoebx rwsXmJg1F/YD3PenlfTpOJNr1VfunnDbwBDieYNHuVFaMXaUgqo8F4BbZInNZSYz5cBk LSE3PaUuxWO5QKvN3XeQeNsRpplgYKww2SMh2VRWA3K8OyK0sG6xYn4VE/ZrKQvphNrM G4yINYHlWVRy6QYRAZ2/prQG0hecjn4XCM0uIdrCy3fae26X6JYAPHqtCf4zdQy8iYQX ezwQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bl24si4763291ejb.602.2020.07.17.04.30.38; Fri, 17 Jul 2020 04:31:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726386AbgGQL3U (ORCPT + 99 others); Fri, 17 Jul 2020 07:29:20 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:39156 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725950AbgGQL3U (ORCPT ); Fri, 17 Jul 2020 07:29:20 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 5F4B79D3570F161523B9; Fri, 17 Jul 2020 19:29:17 +0800 (CST) Received: from localhost (10.174.179.108) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.487.0; Fri, 17 Jul 2020 19:29:08 +0800 From: YueHaibing To: , , , , , CC: , , YueHaibing Subject: [PATCH -next] powerpc: Remove unneeded inline functions Date: Fri, 17 Jul 2020 19:27:14 +0800 Message-ID: <20200717112714.19304-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 In-Reply-To: <20200715031939.31968-1-yuehaibing@huawei.com> References: <20200715031939.31968-1-yuehaibing@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.174.179.108] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Both of those functions are only called from 64-bit only code, so the stubs should not be needed at all. Suggested-by: Michael Ellerman Signed-off-by: YueHaibing --- arch/powerpc/include/asm/mmu_context.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/powerpc/include/asm/mmu_context.h b/arch/powerpc/include/asm/mmu_context.h index 1a474f6b1992..7f3658a97384 100644 --- a/arch/powerpc/include/asm/mmu_context.h +++ b/arch/powerpc/include/asm/mmu_context.h @@ -218,8 +218,6 @@ static inline void inc_mm_active_cpus(struct mm_struct *mm) { } static inline void dec_mm_active_cpus(struct mm_struct *mm) { } static inline void mm_context_add_copro(struct mm_struct *mm) { } static inline void mm_context_remove_copro(struct mm_struct *mm) { } -static inline void mm_context_add_vas_windows(struct mm_struct *mm) { } -static inline void mm_context_remove_vas_windows(struct mm_struct *mm) { } #endif -- 2.17.1