diff options
author | Will Deacon | 2019-02-22 17:56:31 +0100 |
---|---|---|
committer | Will Deacon | 2019-04-08 13:00:56 +0200 |
commit | 949b8c72768e3a7c69d270962b8a142ee8deec1b (patch) | |
tree | 3619bd740e620872ad16daf782f7986442ab1dd4 /drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | |
parent | Documentation: Kill all references to mmiowb() (diff) | |
download | kernel-qcow2-linux-949b8c72768e3a7c69d270962b8a142ee8deec1b.tar.gz kernel-qcow2-linux-949b8c72768e3a7c69d270962b8a142ee8deec1b.tar.xz kernel-qcow2-linux-949b8c72768e3a7c69d270962b8a142ee8deec1b.zip |
drivers: Remove useless trailing comments from mmiowb() invocations
In preparation for using coccinelle to remove all mmiowb() instances
from drivers, remove all trailing comments since they won't be picked up
by spatch later on and will end up being preserved in the code.
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h index 2462e7aa0c5d..1ed068509337 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h @@ -527,7 +527,7 @@ static inline void bnx2x_update_rx_prod(struct bnx2x *bp, REG_WR_RELAXED(bp, fp->ustorm_rx_prods_offset + i * 4, ((u32 *)&rx_prods)[i]); - mmiowb(); /* keep prod updates ordered */ + mmiowb(); DP(NETIF_MSG_RX_STATUS, "queue[%d]: wrote bd_prod %u cqe_prod %u sge_prod %u\n", |