usb: gadget: atmel: remove unused DMA_ADDR_INVALID
authorFelipe Balbi <balbi@ti.com>
Thu, 14 Mar 2013 08:45:02 +0000 (10:45 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:18:11 +0000 (11:18 +0200)
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>
drivers/usb/gadget/atmel_usba_udc.h

index 9791259cbda7b48e215562a254d2fb3be51232f8..d65a61851d3d8ca28b8c1f68ddf27b269a9d9e42 100644 (file)
 #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