Skip to contentSkip to conversation

spi: spi-pxa2xx: Remove unused macro

PATCH In review Jarkko Nikula 3 participants 3 messages Nov 14, 2016 – Dec 5, 2016 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spi: spi-pxa2xx: Remove unused macro

IS_DMA_ALIGNED() became unused by the commit 6356437e65c2 ("spi: spi-pxa2xx: remove legacy PXA DMA bits").

---
 drivers/spi/spi-pxa2xx.h | 1 -
 1 file changed, 1 deletion(-)
drivers/spi/spi-pxa2xx.h +0 -1
index ce31b8199bb3..2823a00a9405 100644
@@ -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)
Signature · 6 lines
2.10.2

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20161114112420.16915-1-jarkko.nikula-VuQAYsv1563Yd54FQh9/[email protected]

#2 lore raw
Quoted 4 lines · Jarkko Nikula

IS_DMA_ALIGNED() became unused by the commit 6356437e65c2 ("spi: spi-pxa2xx: remove legacy PXA DMA bits").

Cheers.

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

#3 lore raw

Applied "spi: spi-pxa2xx: Remove unused macro" to the spi tree

In reply to a message not in the archive

The patch

spi: spi-pxa2xx: Remove unused macro

has been applied to the spi tree at

git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

Quoted 1 line

From 6906b0ec5cdef784102e7699807df140eeaba133 Mon Sep 17 00:00:00 2001

From: Jarkko Nikula <jarkko.nikula-VuQAYsv1563Yd54FQh9/[email protected]>
Date: Mon, 14 Nov 2016 13:24:20 +0200
Subject: [PATCH] spi: spi-pxa2xx: Remove unused macro

IS_DMA_ALIGNED() became unused by the commit 6356437e65c2 ("spi: spi-pxa2xx: remove legacy PXA DMA bits").

---
 drivers/spi/spi-pxa2xx.h | 1 -
 1 file changed, 1 deletion(-)
drivers/spi/spi-pxa2xx.h +0 -1
index ce31b8199bb3..2823a00a9405 100644
@@ -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)
Signature · 6 lines
2.10.2

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html