Skip to content

Commit 2719cb4

Browse files
Lijun Pankuba-moo
authored andcommitted
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 <[email protected]> Acked-by: Dwip Banerjee <[email protected]> Acked-by: Thomas Falcon <[email protected]> Reviewed-by: Brian King <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 665ab1e commit 2719cb4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/net/ethernet/ibm/ibmvnic.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2510,7 +2510,6 @@ static int ibmvnic_poll(struct napi_struct *napi, int budget)
25102510
if (napi_complete_done(napi, frames_processed)) {
25112511
enable_scrq_irq(adapter, rx_scrq);
25122512
if (pending_scrq(adapter, rx_scrq)) {
2513-
rmb();
25142513
if (napi_reschedule(napi)) {
25152514
disable_scrq_irq(adapter, rx_scrq);
25162515
goto restart_poll;

0 commit comments

Comments
 (0)