|
@@ -11333,11 +11333,7 @@ static void i40e_remove(struct pci_dev *pdev)
|
|
}
|
|
}
|
|
|
|
|
|
/* shutdown the adminq */
|
|
/* shutdown the adminq */
|
|
- ret_code = i40e_shutdown_adminq(hw);
|
|
|
|
- if (ret_code)
|
|
|
|
- dev_warn(&pdev->dev,
|
|
|
|
- "Failed to destroy the Admin Queue resources: %d\n",
|
|
|
|
- ret_code);
|
|
|
|
|
|
+ i40e_shutdown_adminq(hw);
|
|
|
|
|
|
/* destroy the locks only once, here */
|
|
/* destroy the locks only once, here */
|
|
mutex_destroy(&hw->aq.arq_mutex);
|
|
mutex_destroy(&hw->aq.arq_mutex);
|