ibmvnic: Remove the proper scrq flush
authorSukadev Bhattiprolu <sukadev@linux.ibm.com>
Wed, 21 Jul 2021 02:34:39 +0000 (19:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Jul 2021 15:57:41 +0000 (08:57 -0700)
commitbb55362bd6976631b662ca712779b6532d8de0a6
treef462156239a4d4c8620343e2fd25f5305d1a6cb2
parent3ddaed6b09b09eb8b5d8c7c216a8b285f897370e
ibmvnic: Remove the proper scrq flush

Commit 65d6470d139a ("ibmvnic: clean pending indirect buffs during reset")
intended to remove the call to ibmvnic_tx_scrq_flush() when the
->resetting flag is true and was tested that way. But during the final
rebase to net-next, the hunk got applied to a block few lines below
(which happened to have the same diff context) and the wrong call to
ibmvnic_tx_scrq_flush() got removed.

Fix that by removing the correct ibmvnic_tx_scrq_flush() and restoring
the one that was incorrectly removed.

Fixes: 65d6470d139a ("ibmvnic: clean pending indirect buffs during reset")
Reported-by: Dany Madden <drt@linux.ibm.com>
Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c