diff --git a/drivers/network/dd/e1000/ndis.c b/drivers/network/dd/e1000/ndis.c index 2e713dfcb6c..d6074cb5a2c 100644 --- a/drivers/network/dd/e1000/ndis.c +++ b/drivers/network/dd/e1000/ndis.c @@ -286,10 +286,8 @@ Cleanup: { NdisFreeMemory(ResourceList, ResourceListSize, 0); } - if (Adapter != NULL) - { - MiniportHalt(Adapter); - } + + MiniportHalt(Adapter); return Status; }