Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Ondrej Zary and committed by
Christoph Hellwig
309e7cc4 38d5c833

-2
-2
drivers/scsi/wd719x.c
··· 244 244 scb->sense_buf_length = SCSI_SENSE_BUFFERSIZE; 245 245 cmd->SCp.dma_handle = dma_map_single(&wd->pdev->dev, cmd->sense_buffer, 246 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 247 scb->sense_buf = cpu_to_le32(cmd->SCp.dma_handle); 250 248 251 249 /* request autosense */