iflib: simplify MPASS assertion
Submitted by: andrew
This commit is contained in:
parent
68af0153a7
commit
ed6611cc8c
@ -6193,14 +6193,8 @@ iflib_rx_intr_deferred(if_ctx_t ctx, int rxqid)
|
||||
void
|
||||
iflib_admin_intr_deferred(if_ctx_t ctx)
|
||||
{
|
||||
#ifdef INVARIANTS
|
||||
struct grouptask *gtask;
|
||||
|
||||
gtask = &ctx->ifc_admin_task;
|
||||
MPASS(gtask != NULL);
|
||||
MPASS(gtask->gt_taskqueue != NULL);
|
||||
#endif
|
||||
|
||||
MPASS(ctx->ifc_admin_task.gt_taskqueue != NULL);
|
||||
GROUPTASK_ENQUEUE(&ctx->ifc_admin_task);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user