projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a36315
)
usb: gadget: goku_udc: remove unused macro
author
Felipe Balbi
<balbi@ti.com>
Tue, 26 Feb 2013 09:05:19 +0000
(11:05 +0200)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 18 Mar 2013 09:17:21 +0000
(11:17 +0200)
DMA_ADDR_INVALID isn't used anymore on goku_udc,
we can just delete it.
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/goku_udc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/goku_udc.c
b/drivers/usb/gadget/goku_udc.c
index c02cbdd182c5a6590ef8ff0abd6b753710723387..1c070f4209f0580cc17cfdd111cc1471086d5f28 100644
(file)
--- a/
drivers/usb/gadget/goku_udc.c
+++ b/
drivers/usb/gadget/goku_udc.c
@@
-51,8
+51,6
@@
#define DRIVER_DESC "TC86C001 USB Device Controller"
#define DRIVER_VERSION "30-Oct 2003"
-#define DMA_ADDR_INVALID (~(dma_addr_t)0)
-
static const char driver_name [] = "goku_udc";
static const char driver_desc [] = DRIVER_DESC;
@@
-275,7
+273,6
@@
goku_alloc_request(struct usb_ep *_ep, gfp_t gfp_flags)
if (!req)
return NULL;
- req->req.dma = DMA_ADDR_INVALID;
INIT_LIST_HEAD(&req->queue);
return &req->req;
}