summaryrefslogtreecommitdiff
path: root/Kernel/Memory/Region.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-04-04 12:34:13 +0200
committerAndreas Kling <kling@serenityos.org>2022-04-04 12:34:13 +0200
commitd1f2d63840f4bad5721c21bd9aed31261b7d89dd (patch)
tree7deb6931b3b85c4b1f7b09dc1f0420d458f74f42 /Kernel/Memory/Region.h
parent63ddbaf68aff75f0d4cab25368747cb731b89a8d (diff)
downloadserenity-d1f2d63840f4bad5721c21bd9aed31261b7d89dd.zip
Kernel: Remove unused Region::try_create_kernel_only()
Diffstat (limited to 'Kernel/Memory/Region.h')
-rw-r--r--Kernel/Memory/Region.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Kernel/Memory/Region.h b/Kernel/Memory/Region.h
index 1e2eb64766..aef490388e 100644
--- a/Kernel/Memory/Region.h
+++ b/Kernel/Memory/Region.h
@@ -55,7 +55,6 @@ public:
};
static ErrorOr<NonnullOwnPtr<Region>> try_create_user_accessible(VirtualRange const&, NonnullRefPtr<VMObject>, size_t offset_in_vmobject, OwnPtr<KString> name, Region::Access access, Cacheable, bool shared);
- static ErrorOr<NonnullOwnPtr<Region>> try_create_kernel_only(VirtualRange const&, NonnullRefPtr<VMObject>, size_t offset_in_vmobject, OwnPtr<KString> name, Region::Access access, Cacheable = Cacheable::Yes);
static ErrorOr<NonnullOwnPtr<Region>> create_unbacked();
static ErrorOr<NonnullOwnPtr<Region>> create_unplaced(NonnullRefPtr<VMObject>, size_t offset_in_vmobject, OwnPtr<KString> name, Region::Access access, Cacheable = Cacheable::Yes, bool shared = false);