Skip to contentSkip to conversation

remove flush_cache_all() from qla1280

PATCH New Christoph Hellwig 1 participant 1 message Feb 5, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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)

drivers/scsi/qla1280.c +0 -3
@@ -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>
@@ -2122,8 +2121,6 @@
 		for(i = 0; i < cnt; i++)
 			((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;