Index: kernel/generic/src/ipc/irq.c
===================================================================
--- kernel/generic/src/ipc/irq.c	(revision 91b604993517a2bdc14cfe1ede6902150ab29533)
+++ kernel/generic/src/ipc/irq.c	(revision 48adf0f5acfc6c801de63d3051a4a732c9e3e07c)
@@ -298,9 +298,4 @@
     irq_code_t *ucode)
 {
-	sysarg_t key[] = {
-		[IRQ_HT_KEY_INR] = (sysarg_t) inr,
-		[IRQ_HT_KEY_MODE] = (sysarg_t) IRQ_HT_MODE_NO_CLAIM
-	};
-	
 	if ((inr < 0) || (inr > last_inr))
 		return ELIMIT;
@@ -351,5 +346,5 @@
 	
 	irq->notif_cfg.hashed_in = true;
-	hash_table_insert(&irq_uspace_hash_table, key, &irq->link);
+	hash_table_insert(&irq_uspace_hash_table, &irq->link);
 	
 	irq_spinlock_unlock(&irq->lock, false);
@@ -388,5 +383,5 @@
 	}
 
-	/* kobj->irq->lock unlocked by the hash table remove_callback */
+	irq_spinlock_unlock(&kobj->irq->lock, false);
 	irq_spinlock_unlock(&irq_uspace_hash_table_lock, true);
 
