projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
662e946
)
usb: gadget: net2272: remove unused DMA_ADDR_INVALID
author
Felipe Balbi
<balbi@ti.com>
Thu, 14 Mar 2013 08:45:42 +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 used anymore, it's safe
to remove it.
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/net2272.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/net2272.c
b/drivers/usb/gadget/net2272.c
index
8dcbe77
..
03e4104
100644
(file)
--- a/
drivers/usb/gadget/net2272.c
+++ b/
drivers/usb/gadget/net2272.c
@@
-58,7
+58,6
@@
static const char * const ep_name[] = {
"ep-a", "ep-b", "ep-c",
};
-#define DMA_ADDR_INVALID (~(dma_addr_t)0)
#ifdef CONFIG_USB_GADGET_NET2272_DMA
/*
* use_dma: the NET2272 can use an external DMA controller.
@@
-341,7
+340,6
@@
net2272_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;