diff --git a/Kernel/Devices/MemoryDevice.cpp b/Kernel/Devices/MemoryDevice.cpp index c3b61bdc40..d17bce0a9a 100644 --- a/Kernel/Devices/MemoryDevice.cpp +++ b/Kernel/Devices/MemoryDevice.cpp @@ -36,11 +36,6 @@ ErrorOr MemoryDevice::read(OpenFileDescription&, u64, UserOrKernelBuffer TODO(); } -void MemoryDevice::did_seek(OpenFileDescription&, off_t) -{ - TODO(); -} - ErrorOr MemoryDevice::mmap(Process& process, OpenFileDescription&, Memory::VirtualRange const& range, u64 offset, int prot, bool shared) { auto viewed_address = PhysicalAddress(offset); diff --git a/Kernel/Devices/MemoryDevice.h b/Kernel/Devices/MemoryDevice.h index 3e88b99839..0535562034 100644 --- a/Kernel/Devices/MemoryDevice.h +++ b/Kernel/Devices/MemoryDevice.h @@ -31,8 +31,6 @@ private: virtual ErrorOr read(OpenFileDescription&, u64, UserOrKernelBuffer&, size_t) override; virtual ErrorOr write(OpenFileDescription&, u64, const UserOrKernelBuffer&, size_t) override { return EINVAL; } - virtual void did_seek(OpenFileDescription&, off_t) override; - bool is_allowed_range(PhysicalAddress, Memory::VirtualRange const&) const; };