usb: renesas: remove unused DMA_ADDR_INVALID
authorFelipe Balbi <balbi@ti.com>
Thu, 14 Mar 2013 08:49:13 +0000 (10:49 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:18:13 +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/renesas_usbhs/fifo.c
drivers/usb/renesas_usbhs/fifo.h

index 9538f0f..45b9401 100644 (file)
@@ -32,7 +32,6 @@
  */
 void usbhs_pkt_init(struct usbhs_pkt *pkt)
 {
-       pkt->dma = DMA_ADDR_INVALID;
        INIT_LIST_HEAD(&pkt->node);
 }
 
index c31731a..a168a17 100644 (file)
@@ -23,8 +23,6 @@
 #include <asm/dma.h>
 #include "pipe.h"
 
-#define        DMA_ADDR_INVALID        (~(dma_addr_t)0)
-
 struct usbhs_fifo {
        char *name;
        u32 port;       /* xFIFO */