Rev 3964 | Rev 4254 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3964 | Rev 4248 | ||
|---|---|---|---|
| Line 289... | Line 289... | ||
| 289 | ASSERT(irq->notif_cfg.answerbox == box); |
289 | ASSERT(irq->notif_cfg.answerbox == box); |
| 290 | 290 | ||
| 291 | /* Unlist from the answerbox. */ |
291 | /* Unlist from the answerbox. */ |
| 292 | list_remove(&irq->notif_cfg.link); |
292 | list_remove(&irq->notif_cfg.link); |
| 293 | 293 | ||
| 294 | /* Remove from the hash table. */ |
- | |
| 295 | hash_table_remove(&irq_uspace_hash_table, key, 2); |
- | |
| 296 | - | ||
| 297 | /* Free up the pseudo code and associated structures. */ |
294 | /* Free up the pseudo code and associated structures. */ |
| 298 | code_free(irq->notif_cfg.code); |
295 | code_free(irq->notif_cfg.code); |
| 299 | 296 | ||
| 300 | spinlock_unlock(&irq->lock); |
297 | spinlock_unlock(&irq->lock); |
| - | 298 | ||
| - | 299 | /* Remove from the hash table. */ |
|
| - | 300 | hash_table_remove(&irq_uspace_hash_table, key, 2); |
|
| - | 301 | ||
| 301 | free(irq); |
302 | free(irq); |
| 302 | } |
303 | } |
| 303 | 304 | ||
| 304 | spinlock_unlock(&box->irq_lock); |
305 | spinlock_unlock(&box->irq_lock); |
| 305 | spinlock_unlock(&irq_uspace_hash_table_lock); |
306 | spinlock_unlock(&irq_uspace_hash_table_lock); |