aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorMike Rapoport <mike@compulab.co.il>2009-04-06 22:00:55 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-07 11:31:07 -0400
commit75c8915c0ca633f7c1839618bd5c6a5e26b24094 (patch)
tree3f05c9bc743ac1d6c91d5883aa9331b8ee8a1a85 /drivers/spi
parenta7bb3909b3293d503211d7f6af8ed62c1644b686 (diff)
spi_bfin5xx: remove unused IS_DMA_ALIGNED macro
Signed-off-by: Mike Rapoport <mike@compulab.co.il> Cc: Bryan Wu <bryan.wu@analog.com> Cc: David Brownell <david-b@pacbell.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi_bfin5xx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi_bfin5xx.c b/drivers/spi/spi_bfin5xx.c
index e1d9eae1fae1..f014cc21e813 100644
--- a/drivers/spi/spi_bfin5xx.c
+++ b/drivers/spi/spi_bfin5xx.c
@@ -36,8 +36,6 @@ MODULE_AUTHOR(DRV_AUTHOR);
36MODULE_DESCRIPTION(DRV_DESC); 36MODULE_DESCRIPTION(DRV_DESC);
37MODULE_LICENSE("GPL"); 37MODULE_LICENSE("GPL");
38 38
39#define IS_DMA_ALIGNED(x) (((u32)(x)&0x07) == 0)
40
41#define START_STATE ((void *)0) 39#define START_STATE ((void *)0)
42#define RUNNING_STATE ((void *)1) 40#define RUNNING_STATE ((void *)1)
43#define DONE_STATE ((void *)2) 41#define DONE_STATE ((void *)2)