mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-19 23:53:55 +00:00
vfs: remove Read_result::READ_ERR_INTERRUPT
The error condition was too vague and thereby remained unused in practice. Issue #4706
This commit is contained in:
committed by
Christian Helmuth
parent
ba78cf72ae
commit
9a2c03d2c6
@ -40,8 +40,8 @@ struct Vfs::File_io_service : Interface
|
||||
**********/
|
||||
|
||||
enum Read_result { READ_ERR_WOULD_BLOCK, READ_ERR_INVALID,
|
||||
READ_ERR_IO, READ_ERR_INTERRUPT,
|
||||
READ_QUEUED, READ_OK };
|
||||
READ_ERR_IO, READ_QUEUED,
|
||||
READ_OK };
|
||||
|
||||
/**
|
||||
* Queue read operation
|
||||
|
@ -152,7 +152,6 @@ static inline void print(Genode::Output &output, Vfs::File_io_service::Read_resu
|
||||
CASE_PRINT(READ_ERR_WOULD_BLOCK);
|
||||
CASE_PRINT(READ_ERR_INVALID);
|
||||
CASE_PRINT(READ_ERR_IO);
|
||||
CASE_PRINT(READ_ERR_INTERRUPT);
|
||||
CASE_PRINT(READ_QUEUED);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user