[PATCH 6/7] staging/wilc1000: Remove unneeded USE_SPI_DMA
Janosch Frank
kernel at janosch-frank.de
Sun Jan 10 17:48:07 UTC 2016
After zeroing the message, the value is zero anyway and we don't have
to set it explicitly.
Signed-off-by: Janosch Frank <kernel at janosch-frank.de>
---
drivers/staging/wilc1000/linux_wlan_spi.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/staging/wilc1000/linux_wlan_spi.c b/drivers/staging/wilc1000/linux_wlan_spi.c
index 28d4cf0..f4bdaab 100644
--- a/drivers/staging/wilc1000/linux_wlan_spi.c
+++ b/drivers/staging/wilc1000/linux_wlan_spi.c
@@ -3,8 +3,6 @@
#include "linux_wlan_common.h"
#include "linux_wlan_spi.h"
-#define USE_SPI_DMA 0 /* johnny add */
-
#ifdef WILC_ASIC_A0
#if defined(PLAT_PANDA_ES_OMAP4460)
#define MIN_SPEED 12000000
@@ -108,7 +106,6 @@ static void linux_spi_msg_init(struct spi_message *msg, struct spi_transfer *tr,
memset(tr, 0, sizeof(*tr));
msg->spi = wilc_spi_dev;
- msg->is_dma_mapped = USE_SPI_DMA;
tr->tx_buf = tx;
tr->rx_buf = rx;
--
2.5.0
More information about the devel
mailing list