DMA_ADDR_INVALID isn't (and shouldn't) be used
anymore, let's remove it.

Signed-off-by: Felipe Balbi <ba...@ti.com>
---
 drivers/usb/gadget/atmel_usba_udc.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/usb/gadget/atmel_usba_udc.h 
b/drivers/usb/gadget/atmel_usba_udc.h
index 9791259..d65a618 100644
--- a/drivers/usb/gadget/atmel_usba_udc.h
+++ b/drivers/usb/gadget/atmel_usba_udc.h
@@ -216,12 +216,6 @@
 #define EP0_EPT_SIZE           USBA_EPT_SIZE_64
 #define EP0_NR_BANKS           1
 
-/*
- * REVISIT: Try to eliminate this value. Can we rely on req->mapped to
- * provide this information?
- */
-#define DMA_ADDR_INVALID (~(dma_addr_t)0)
-
 #define FIFO_IOMEM_ID  0
 #define CTRL_IOMEM_ID  1
 
-- 
1.8.1.rc1.5.g7e0651a

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

Reply via email to