mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
ibmvnic: remove unnecessary rmb() inside ibmvnic_poll
rmb() can be removed since: 1. pending_scrq() has dma_rmb() at the function end; 2. dma_rmb(), though weaker, is enough here. Signed-off-by: Lijun Pan <ljp@linux.ibm.com> Acked-by: Dwip Banerjee <dnbanerg@us.ibm.com> Acked-by: Thomas Falcon <tlfalcon@linux.ibm.com> Reviewed-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
665ab1eb18
commit
2719cb445d
1 changed files with 0 additions and 1 deletions
|
@ -2510,7 +2510,6 @@ restart_poll:
|
|||
if (napi_complete_done(napi, frames_processed)) {
|
||||
enable_scrq_irq(adapter, rx_scrq);
|
||||
if (pending_scrq(adapter, rx_scrq)) {
|
||||
rmb();
|
||||
if (napi_reschedule(napi)) {
|
||||
disable_scrq_irq(adapter, rx_scrq);
|
||||
goto restart_poll;
|
||||
|
|
Loading…
Add table
Reference in a new issue