Rev 4263 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4263 | Rev 4327 | ||
---|---|---|---|
Line 349... | Line 349... | ||
349 | return rv; |
349 | return rv; |
350 | } |
350 | } |
351 | 351 | ||
352 | /** Unlock IRQ structure after hash_table_remove(). |
352 | /** Unlock IRQ structure after hash_table_remove(). |
353 | * |
353 | * |
354 | * @param lnk Link in the removed and locked IRQ structure. |
354 | * @param lnk Link in the removed and locked IRQ structure. |
355 | */ |
355 | */ |
356 | void irq_ht_remove(link_t *lnk) |
356 | void irq_ht_remove(link_t *lnk) |
357 | { |
357 | { |
- | 358 | irq_t *irq __attribute__((unused)) |
|
358 | irq_t *irq = hash_table_get_instance(lnk, irq_t, link); |
359 | = hash_table_get_instance(lnk, irq_t, link); |
359 | spinlock_unlock(&irq->lock); |
360 | spinlock_unlock(&irq->lock); |
360 | } |
361 | } |
361 | 362 | ||
362 | /** Compute hash index for the key. |
363 | /** Compute hash index for the key. |
363 | * |
364 | * |
Line 422... | Line 423... | ||
422 | * |
423 | * |
423 | * @param lnk Link in the removed and locked IRQ structure. |
424 | * @param lnk Link in the removed and locked IRQ structure. |
424 | */ |
425 | */ |
425 | void irq_lin_remove(link_t *lnk) |
426 | void irq_lin_remove(link_t *lnk) |
426 | { |
427 | { |
- | 428 | irq_t *irq __attribute__((unused)) |
|
427 | irq_t *irq = hash_table_get_instance(lnk, irq_t, link); |
429 | = hash_table_get_instance(lnk, irq_t, link); |
428 | spinlock_unlock(&irq->lock); |
430 | spinlock_unlock(&irq->lock); |
429 | } |
431 | } |
430 | 432 | ||
431 | /** @} |
433 | /** @} |
432 | */ |
434 | */ |