|
@@ -620,8 +620,7 @@ static void ixgbe_fcoe_dma_pool_free(struct ixgbe_fcoe *fcoe, unsigned int cpu)
|
|
struct ixgbe_fcoe_ddp_pool *ddp_pool;
|
|
struct ixgbe_fcoe_ddp_pool *ddp_pool;
|
|
|
|
|
|
ddp_pool = per_cpu_ptr(fcoe->ddp_pool, cpu);
|
|
ddp_pool = per_cpu_ptr(fcoe->ddp_pool, cpu);
|
|
- if (ddp_pool->pool)
|
|
|
|
- dma_pool_destroy(ddp_pool->pool);
|
|
|
|
|
|
+ dma_pool_destroy(ddp_pool->pool);
|
|
ddp_pool->pool = NULL;
|
|
ddp_pool->pool = NULL;
|
|
}
|
|
}
|
|
|
|
|