summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/goku_udc.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-02-26 11:05:19 +0200
committerFelipe Balbi <balbi@ti.com>2013-03-18 11:17:21 +0200
commit975cbd49391822bc98f693e3a43d26754849948a (patch)
treef5cfb1f3d07e5c882d92f0c6434f37332c718f93 /drivers/usb/gadget/goku_udc.c
parent1a36315c976bb1e0f8aa6e18c149a951d685cc20 (diff)
downloadlinux-975cbd49391822bc98f693e3a43d26754849948a.tar.gz
linux-975cbd49391822bc98f693e3a43d26754849948a.tar.xz
usb: gadget: goku_udc: remove unused macro
DMA_ADDR_INVALID isn't used anymore on goku_udc, we can just delete it. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/goku_udc.c')
-rw-r--r--drivers/usb/gadget/goku_udc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/gadget/goku_udc.c b/drivers/usb/gadget/goku_udc.c
index c02cbdd182c5..1c070f4209f0 100644
--- 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;
}