diff mbox

spi: spi-pxa2xx: Remove unused macro

Message ID 20161114112420.16915-1-jarkko.nikula@linux.intel.com (mailing list archive)
State Accepted
Commit 6906b0ec5cdef784102e7699807df140eeaba133
Headers show

Commit Message

Jarkko Nikula Nov. 14, 2016, 11:24 a.m. UTC
IS_DMA_ALIGNED() became unused by the commit 6356437e65c2
("spi: spi-pxa2xx: remove legacy PXA DMA bits").

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
---
 drivers/spi/spi-pxa2xx.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Robert Jarzmik Nov. 19, 2016, 10 a.m. UTC | #1
Jarkko Nikula <jarkko.nikula@linux.intel.com> writes:

> IS_DMA_ALIGNED() became unused by the commit 6356437e65c2
> ("spi: spi-pxa2xx: remove legacy PXA DMA bits").
>
> Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>

Cheers.

--
Robert
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/spi/spi-pxa2xx.h b/drivers/spi/spi-pxa2xx.h
index ce31b8199bb3..2823a00a9405 100644
--- a/drivers/spi/spi-pxa2xx.h
+++ b/drivers/spi/spi-pxa2xx.h
@@ -109,7 +109,6 @@  static  inline void pxa2xx_spi_write(const struct driver_data *drv_data,
 #define DONE_STATE ((void *)2)
 #define ERROR_STATE ((void *)-1)
 
-#define IS_DMA_ALIGNED(x)	IS_ALIGNED((unsigned long)(x), DMA_ALIGNMENT)
 #define DMA_ALIGNMENT		8
 
 static inline int pxa25x_ssp_comp(struct driver_data *drv_data)