diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-04-19 15:20:23 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-07-03 14:25:56 +0100 |
commit | d8f8eb43e9d6d5789f37c8a80db99af894944d41 (patch) | |
tree | 6ddd886d7df97090d9931182ed622a8f22195b75 | |
parent | 36149f02cb830570ca57228c8ad3d82742485eb7 (diff) | |
download | kernel_samsung_smdk4412-d8f8eb43e9d6d5789f37c8a80db99af894944d41.zip kernel_samsung_smdk4412-d8f8eb43e9d6d5789f37c8a80db99af894944d41.tar.gz kernel_samsung_smdk4412-d8f8eb43e9d6d5789f37c8a80db99af894944d41.tar.bz2 |
[ARM] rpc: acornscsi: remove unused 'ADDR' macro
Acked-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | drivers/scsi/arm/acornscsi-io.S | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/scsi/arm/acornscsi-io.S b/drivers/scsi/arm/acornscsi-io.S index 93467e6..3c5d4f8 100644 --- a/drivers/scsi/arm/acornscsi-io.S +++ b/drivers/scsi/arm/acornscsi-io.S @@ -10,19 +10,6 @@ #include <asm/assembler.h> #include <asm/hardware.h> -#if (IO_BASE == (PCIO_BASE & 0xff000000)) -#define ADDR(off,reg) \ - tst off, $0x80000000 ;\ - mov reg, $IO_BASE ;\ - orreq reg, reg, $(PCIO_BASE & 0x00ff0000) -#else -#define ADDR(off,reg) \ - tst off, $0x80000000 ;\ - movne reg, $IO_BASE ;\ - moveq reg, $(PCIO_BASE & 0xff000000) ;\ - orreq reg, reg, $(PCIO_BASE & 0x00ff0000) -#endif - @ Purpose: transfer a block of data from the acorn scsi card to memory @ Proto : void acornscsi_in(unsigned int addr_start, char *buffer, int length) @ Returns: nothing |