mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
iavf: remove duplicate free resources calls
[ Upstream commit 1a0e880b028f97478dc689e2900b312741d0d772 ] Both iavf_free_all_tx_resources() and iavf_free_all_rx_resources() have already been called in the very same function. Remove the duplicate calls. Signed-off-by: Stefan Assmann <sassmann@kpanic.de> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
40d1cb16a5
commit
5da6affd9c
1 changed files with 0 additions and 2 deletions
|
|
@ -3906,8 +3906,6 @@ static void iavf_remove(struct pci_dev *pdev)
|
|||
|
||||
iounmap(hw->hw_addr);
|
||||
pci_release_regions(pdev);
|
||||
iavf_free_all_tx_resources(adapter);
|
||||
iavf_free_all_rx_resources(adapter);
|
||||
iavf_free_queues(adapter);
|
||||
kfree(adapter->vf_res);
|
||||
spin_lock_bh(&adapter->mac_vlan_list_lock);
|
||||
|
|
|
|||
Loading…
Reference in a new issue