summaryrefslogtreecommitdiff
path: root/drivers/scsi/wd719x.c
diff options
context:
space:
mode:
authorOndrej Zary <linux@rainbow-software.org>2014-11-26 23:37:57 +0300
committerChristoph Hellwig <hch@lst.de>2014-11-27 18:40:16 +0300
commit309e7cc433e79ba0124e7e359503e66c41b46509 (patch)
treef1f097ae8a734b85d373076cbc2305353151e669 /drivers/scsi/wd719x.c
parent38d5c8336e60bf6e53a1da9586befe82fa75171b (diff)
downloadlinux-309e7cc433e79ba0124e7e359503e66c41b46509.tar.xz
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.c2
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)
scb->sense_buf_length = SCSI_SENSE_BUFFERSIZE;
cmd->SCp.dma_handle = dma_map_single(&wd->pdev->dev, cmd->sense_buffer,
SCSI_SENSE_BUFFERSIZE, DMA_FROM_DEVICE);
- dma_cache_sync(&wd->pdev->dev, cmd->sense_buffer,
- SCSI_SENSE_BUFFERSIZE, DMA_FROM_DEVICE);
scb->sense_buf = cpu_to_le32(cmd->SCp.dma_handle);
/* request autosense */