[SCSI] hpsa: do not read from controller unnecessarily in completion code
authorStephen M. Cameron <scameron@beardog.cce.hp.com>
Tue, 1 May 2012 16:42:30 +0000 (11:42 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 10 May 2012 08:11:43 +0000 (09:11 +0100)
commit2c17d2da8c9ef2c5be5077d3995041791e38094d
treea305edafa6170096b2cffc1100a38fbb33d7a28c
parent21b8e4ef0357041854819d0f97bf1052ab4763e6
[SCSI] hpsa: do not read from controller unnecessarily in completion code

MSI/MSI-X interrupts can't race the DMA completion they are communicating
so no need to read from controller to flush the DMA to the host if
MSI or MSI-X interrupts are being used.

Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/hpsa.h