Commit 149d022b authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Christoph Hellwig

[PATCH] remove flush_cache_all() from qla1280

It's not needed with the new DMA API and isn't exported to modules on
some architectures.  (See davem's qla2xxx patch for reference)
parent 176be001
......@@ -348,7 +348,6 @@
#include <asm/system.h>
#if LINUX_VERSION_CODE >= 0x020545
#include <asm/cacheflush.h> /* for flush_cache_all() */
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_device.h>
......@@ -2123,8 +2122,6 @@ qla1280_setup_chip(struct scsi_qla_host *ha)
((uint16_t *)ha->request_ring)[i] =
cpu_to_le16(risc_code_address[i]);
flush_cache_all();
mb[0] = MBC_LOAD_RAM;
mb[1] = risc_address;
mb[4] = cnt;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment