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>
This commit is contained in:
@@ -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",
|
||||
|
@@ -5244,7 +5244,7 @@ static void bnx2x_update_eq_prod(struct bnx2x *bp, u16 prod)
|
||||
{
|
||||
/* No memory barriers */
|
||||
storm_memset_eq_prod(bp, prod, BP_FUNC(bp));
|
||||
mmiowb(); /* keep prod updates ordered */
|
||||
mmiowb();
|
||||
}
|
||||
|
||||
static int bnx2x_cnic_handle_cfc_del(struct bnx2x *bp, u32 cid,
|
||||
|
Reference in New Issue
Block a user