From 7ab3153f92f38223157c4c1f4af1c30e33c94a76 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Fri, 26 Apr 2024 19:06:46 +0200 Subject: Kernel/VFS: Change polling from variables to functions Instead of having to store state in variables functions are called to check the object directly. --- kernel/fs/fifo.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'kernel/fs/fifo.h') diff --git a/kernel/fs/fifo.h b/kernel/fs/fifo.h index 450b9b5..3cc0b84 100644 --- a/kernel/fs/fifo.h +++ b/kernel/fs/fifo.h @@ -17,6 +17,4 @@ struct S_FIFO_FILE { FIFO_FILE *create_fifo_object(void); int fifo_object_write(u8 *buffer, u64 offset, u64 len, FIFO_FILE *file); int fifo_object_read(u8 *buffer, u64 offset, u64 len, FIFO_FILE *file); -int fifo_write(u8 *buffer, u64 offset, u64 len, vfs_fd_t *fd); -int fifo_read(u8 *buffer, u64 offset, u64 len, vfs_fd_t *fd); #endif -- cgit v1.2.3