summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/atmel_usba_udc.h
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-03-14 10:45:02 +0200
committerFelipe Balbi <balbi@ti.com>2013-03-18 11:18:11 +0200
commit662e9469cbd736e9e0cd72468f3d62e75b159464 (patch)
tree59aa2fd4c886061f9364d4379605679f7f5fac74 /drivers/usb/gadget/atmel_usba_udc.h
parent38678f25689c6ee90b443407dba04fb8c0297db3 (diff)
usb: gadget: atmel: remove unused DMA_ADDR_INVALID
DMA_ADDR_INVALID isn't (and shouldn't) be used anymore, let's remove it. Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/atmel_usba_udc.h')
-rw-r--r--drivers/usb/gadget/atmel_usba_udc.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/usb/gadget/atmel_usba_udc.h b/drivers/usb/gadget/atmel_usba_udc.h
index 9791259cbda7..d65a61851d3d 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