]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] rpc: acornscsi: remove unused 'ADDR' macro
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 19 Apr 2008 14:20:23 +0000 (15:20 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 3 Jul 2008 13:25:56 +0000 (14:25 +0100)
Acked-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/scsi/arm/acornscsi-io.S

index 93467e6ac9239c60c508195a895b9753a2b9d27e..3c5d4f8485dce4d5573272116525bf85cc24dea8 100644 (file)
 #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