diff options
author | Ondrej Zary <linux@rainbow-software.org> | 2014-11-26 15:37:57 -0500 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-11-27 10:40:16 -0500 |
commit | 309e7cc433e79ba0124e7e359503e66c41b46509 (patch) | |
tree | f1f097ae8a734b85d373076cbc2305353151e669 /drivers/scsi/wd719x.c | |
parent | 38d5c8336e60bf6e53a1da9586befe82fa75171b (diff) |
wd719x: remove dma_cache_sync call
Remove dma_cache_sync call to fix build on other architectures.
Driver still works fine on x86 without that.
Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/wd719x.c')
-rw-r--r-- | drivers/scsi/wd719x.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/wd719x.c b/drivers/scsi/wd719x.c index 3f45c2f085cf..7702664d7ed3 100644 --- a/drivers/scsi/wd719x.c +++ b/drivers/scsi/wd719x.c | |||
@@ -244,8 +244,6 @@ static int wd719x_queuecommand(struct Scsi_Host *sh, struct scsi_cmnd *cmd) | |||
244 | scb->sense_buf_length = SCSI_SENSE_BUFFERSIZE; | 244 | scb->sense_buf_length = SCSI_SENSE_BUFFERSIZE; |
245 | cmd->SCp.dma_handle = dma_map_single(&wd->pdev->dev, cmd->sense_buffer, | 245 | cmd->SCp.dma_handle = dma_map_single(&wd->pdev->dev, cmd->sense_buffer, |
246 | SCSI_SENSE_BUFFERSIZE, DMA_FROM_DEVICE); | 246 | SCSI_SENSE_BUFFERSIZE, DMA_FROM_DEVICE); |
247 | dma_cache_sync(&wd->pdev->dev, cmd->sense_buffer, | ||
248 | SCSI_SENSE_BUFFERSIZE, DMA_FROM_DEVICE); | ||
249 | scb->sense_buf = cpu_to_le32(cmd->SCp.dma_handle); | 247 | scb->sense_buf = cpu_to_le32(cmd->SCp.dma_handle); |
250 | 248 | ||
251 | /* request autosense */ | 249 | /* request autosense */ |