summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMike Rapoport <mike@compulab.co.il>2009-04-07 04:00:55 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-07 17:31:07 +0200
commit75c8915c0ca633f7c1839618bd5c6a5e26b24094 (patch)
tree3f05c9bc743ac1d6c91d5883aa9331b8ee8a1a85 /drivers
parentspi: pxa2xx_spi: introduce chipselect GPIO to simplify the common cases (diff)
downloadlinux-75c8915c0ca633f7c1839618bd5c6a5e26b24094.tar.xz
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')
-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)