Commit 975cbd49 authored by Felipe Balbi's avatar Felipe Balbi

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: default avatarFelipe Balbi <balbi@ti.com>
parent 1a36315c
...@@ -51,8 +51,6 @@ ...@@ -51,8 +51,6 @@
#define DRIVER_DESC "TC86C001 USB Device Controller" #define DRIVER_DESC "TC86C001 USB Device Controller"
#define DRIVER_VERSION "30-Oct 2003" #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_name [] = "goku_udc";
static const char driver_desc [] = DRIVER_DESC; static const char driver_desc [] = DRIVER_DESC;
...@@ -275,7 +273,6 @@ goku_alloc_request(struct usb_ep *_ep, gfp_t gfp_flags) ...@@ -275,7 +273,6 @@ goku_alloc_request(struct usb_ep *_ep, gfp_t gfp_flags)
if (!req) if (!req)
return NULL; return NULL;
req->req.dma = DMA_ADDR_INVALID;
INIT_LIST_HEAD(&req->queue); INIT_LIST_HEAD(&req->queue);
return &req->req; return &req->req;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment