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 9538f0feafe2c37f6b98f5598126fa8b75906af3..45b94019aec8f9aad1dc87385a7022262184803b 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 c31731a843d12cefa1214fe17dad4a31b97dee94..a168a1760fce87ca6e8747491a609e9ed2445b6f 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 */