From: Ondrej Zary Date: Wed, 26 Nov 2014 20:37:57 +0000 (+0100) Subject: wd719x: remove dma_cache_sync call X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=309e7cc433e79ba0124e7e359503e66c41b46509;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Christoph Hellwig --- 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 */