projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38678f2
)
usb: gadget: atmel: remove unused DMA_ADDR_INVALID
author
Felipe Balbi
<balbi@ti.com>
Thu, 14 Mar 2013 08:45:02 +0000
(10:45 +0200)
committer
Felipe 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/atmel_usba_udc.h
b/drivers/usb/gadget/atmel_usba_udc.h
index 9791259cbda7b48e215562a254d2fb3be51232f8..d65a61851d3d8ca28b8c1f68ddf27b269a9d9e42 100644
(file)
--- 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