diff --git a/repos/gems/src/lib/vfs/audit/vfs_audit.cc b/repos/gems/src/lib/vfs/audit/vfs_audit.cc index 51c637737d..36e9885a28 100644 --- a/repos/gems/src/lib/vfs/audit/vfs_audit.cc +++ b/repos/gems/src/lib/vfs/audit/vfs_audit.cc @@ -265,13 +265,6 @@ class Vfs_audit::File_system : public Vfs::File_system return h.audit->fs().ftruncate(h.audit, len); } - bool check_unblock(Vfs_handle *vfs_handle, bool rd, bool wr, bool ex) override - { - Handle &h = *static_cast(vfs_handle); - h.sync_state(); - return h.audit->fs().check_unblock(h.audit, rd, wr, ex); - } - void register_read_ready_sigh(Vfs_handle *vfs_handle, Signal_context_capability sigh) override { Handle &h = *static_cast(vfs_handle); diff --git a/repos/libports/src/lib/vfs/lwip/vfs.cc b/repos/libports/src/lib/vfs/lwip/vfs.cc index c3b592d49c..f61f936eb0 100644 --- a/repos/libports/src/lib/vfs/lwip/vfs.cc +++ b/repos/libports/src/lib/vfs/lwip/vfs.cc @@ -2074,12 +2074,6 @@ class Lwip::File_system final : public Vfs::File_system, public Lwip::Directory return false; } - bool check_unblock(Vfs_handle*, bool, bool, bool) override - { - Genode::error("VFS lwIP: ",__func__," not implemented"); - return true; - } - Sync_result complete_sync(Vfs_handle *vfs_handle) override { return (dynamic_cast(vfs_handle)) diff --git a/repos/libports/src/lib/vfs/oss/vfs_oss.cc b/repos/libports/src/lib/vfs/oss/vfs_oss.cc index 89296bc579..806b530da8 100644 --- a/repos/libports/src/lib/vfs/oss/vfs_oss.cc +++ b/repos/libports/src/lib/vfs/oss/vfs_oss.cc @@ -730,11 +730,6 @@ class Vfs::Oss_file_system::Data_file_system : public Single_file_system { return FTRUNCATE_OK; } - - bool check_unblock(Vfs_handle *, bool, bool wr, bool) override - { - return wr; - } }; diff --git a/repos/os/include/vfs/file_io_service.h b/repos/os/include/vfs/file_io_service.h index 8ff8a5530f..6d54d339e8 100644 --- a/repos/os/include/vfs/file_io_service.h +++ b/repos/os/include/vfs/file_io_service.h @@ -141,17 +141,6 @@ struct Vfs::File_io_service : Interface return IOCTL_ERR_INVALID; } - - /** - * Return true if an unblocking condition of the file is satisfied - * - * \param rd if true, check for data available for reading - * \param wr if true, check for readiness for writing - * \param ex if true, check for exceptions - */ - virtual bool check_unblock(Vfs_handle *, bool /* rd */, bool /* wr */, bool /* ex */) - { return true; } - virtual void register_read_ready_sigh(Vfs_handle *, Signal_context_capability) { } diff --git a/repos/os/src/lib/vfs/terminal_file_system.h b/repos/os/src/lib/vfs/terminal_file_system.h index b7797e4d03..f9026203d4 100644 --- a/repos/os/src/lib/vfs/terminal_file_system.h +++ b/repos/os/src/lib/vfs/terminal_file_system.h @@ -264,11 +264,6 @@ class Vfs::Terminal_file_system::Data_file_system : public Single_file_system { return FTRUNCATE_OK; } - - bool check_unblock(Vfs_handle *, bool rd, bool wr, bool) override - { - return ((rd && _terminal.avail()) || wr); - } };