summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorMike Rapoport <mike@compulab.co.il>2009-04-06 19:00:55 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-07 08:31:07 -0700
commit75c8915c0ca633f7c1839618bd5c6a5e26b24094 (patch)
tree3f05c9bc743ac1d6c91d5883aa9331b8ee8a1a85 /drivers/spi
parenta7bb3909b3293d503211d7f6af8ed62c1644b686 (diff)
downloadlinux-75c8915c0ca633f7c1839618bd5c6a5e26b24094.tar.gz
linux-75c8915c0ca633f7c1839618bd5c6a5e26b24094.tar.bz2
linux-75c8915c0ca633f7c1839618bd5c6a5e26b24094.zip
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);
MODULE_DESCRIPTION(DRV_DESC);
MODULE_LICENSE("GPL");
-#define IS_DMA_ALIGNED(x) (((u32)(x)&0x07) == 0)
-
#define START_STATE ((void *)0)
#define RUNNING_STATE ((void *)1)
#define DONE_STATE ((void *)2)