aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bnx2i
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2019-02-22 16:56:31 +0000
committerWill Deacon <will.deacon@arm.com>2019-04-08 12:00:56 +0100
commit949b8c72768e3a7c69d270962b8a142ee8deec1b (patch)
tree3619bd740e620872ad16daf782f7986442ab1dd4 /drivers/scsi/bnx2i
parentDocumentation: Kill all references to mmiowb() (diff)
downloadlinux-dev-949b8c72768e3a7c69d270962b8a142ee8deec1b.tar.xz
linux-dev-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/scsi/bnx2i')
-rw-r--r--drivers/scsi/bnx2i/bnx2i_hwi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/bnx2i/bnx2i_hwi.c b/drivers/scsi/bnx2i/bnx2i_hwi.c
index fae6f71e677d..d56a78f411cd 100644
--- a/drivers/scsi/bnx2i/bnx2i_hwi.c
+++ b/drivers/scsi/bnx2i/bnx2i_hwi.c
@@ -280,7 +280,7 @@ static void bnx2i_ring_sq_dbell(struct bnx2i_conn *bnx2i_conn, int count)
} else
writew(count, ep->qp.ctx_base + CNIC_SEND_DOORBELL);
- mmiowb(); /* flush posted PCI writes */
+ mmiowb();
}