diff options
author | Marvin Borner | 2021-05-20 16:16:01 +0200 |
---|---|---|
committer | Marvin Borner | 2021-05-20 16:16:01 +0200 |
commit | 9da2af6699ca6e954bc3cb523dd74a9195a503d5 (patch) | |
tree | d2630dcc08bf05a211989a51f1b0c68f0b535a56 /kernel/features/io.c | |
parent | 3f928975d3f2925c6227e7389adf03c22df2d898 (diff) |
Coding style fixes
Diffstat (limited to 'kernel/features/io.c')
-rw-r--r-- | kernel/features/io.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/features/io.c b/kernel/features/io.c index eb4b7a5..bc7977a 100644 --- a/kernel/features/io.c +++ b/kernel/features/io.c @@ -84,7 +84,6 @@ res io_poll(u32 *devs) struct io_dev *dev = io_get(io); if (!dev || !dev->read) { io_remove_group(group); - group--; return -ENOENT; } @@ -92,7 +91,6 @@ res io_poll(u32 *devs) res ready = dev->ready(); if (ready == EOK) { io_remove_group(group); - group--; return io; } else if (ready != -EAGAIN) { return ready; |