Skip to content

Commit 6906b0e

Browse files
jhnikulabroonie
authored andcommitted
spi: spi-pxa2xx: Remove unused macro
IS_DMA_ALIGNED() became unused by the commit 6356437 ("spi: spi-pxa2xx: remove legacy PXA DMA bits"). Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 1001354 commit 6906b0e

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎drivers/spi/spi-pxa2xx.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ static inline void pxa2xx_spi_write(const struct driver_data *drv_data,
109109
#define DONE_STATE ((void *)2)
110110
#define ERROR_STATE ((void *)-1)
111111

112-
#define IS_DMA_ALIGNED(x) IS_ALIGNED((unsigned long)(x), DMA_ALIGNMENT)
113112
#define DMA_ALIGNMENT 8
114113

115114
static inline int pxa25x_ssp_comp(struct driver_data *drv_data)

0 commit comments

Comments
 (0)