diff options
author | Anton Kling <anton@kling.gg> | 2024-02-28 21:47:49 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-02-28 21:47:49 +0100 |
commit | e6c8f7298b40757a410d9df6319824c4f0d70351 (patch) | |
tree | b90ee0eba9a45c7551d9f23b6e66620ff0ea5b66 /kernel/fs/fifo.c | |
parent | 4536dc81b4be9a62328826455664cd6d696df8fb (diff) |
TCP/UDP: Start rewrite of network sockets
Having sockets be file descriptors seems like a bad idea so I trying to
make UDP and TCP sockets be more independent and not be abstracted away
as much.
Diffstat (limited to 'kernel/fs/fifo.c')
-rw-r--r-- | kernel/fs/fifo.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/fs/fifo.c b/kernel/fs/fifo.c index 9844b9e..5563f76 100644 --- a/kernel/fs/fifo.c +++ b/kernel/fs/fifo.c @@ -57,7 +57,6 @@ FIFO_FILE *create_fifo_object(void) { } int create_fifo(void) { - int fd_n = 0; for (; get_current_task()->file_descriptors[fd_n]; fd_n++) ; |