diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-07-07 07:02:46 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-07-07 07:02:46 +0300 |
| commit | b97967ab660243b723f246db03c2e4a82e125f3f (patch) | |
| tree | d30ef3f9dbbc33453c868282b749018659fb6a6b /src/irq.c | |
| parent | 122374c362ba8bb9082385da3c82e264ab594f15 (diff) | |
| download | kmi-b97967ab660243b723f246db03c2e4a82e125f3f.tar.gz kmi-b97967ab660243b723f246db03c2e4a82e125f3f.zip | |
simplify assertions
+ No real point having multiple different levels of assertions, just say
you assert something and be done with it
Diffstat (limited to 'src/irq.c')
| -rw-r--r-- | src/irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -55,7 +55,7 @@ stat_t unregister_irq(struct tcb *t, irq_t id) void handle_irq() { irq_t id = get_irq(); - hard_assert(id < max_irq, RETURN_VOID); + assert(id < max_irq); id_t tid = irq_map[id]; |
