diff options
author | Ondrej Zary <linux@rainbow-software.org> | 2014-11-26 21:37:57 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-11-27 16:40:16 +0100 |
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) 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 */ |