hi all:
when I study inc_deq in xhci-ring.c, why we need to announce and
assigned value to "addr"
it seems useless.

static void inc_deq(struct xhci_hcd *xhci, struct xhci_ring *ring)
{
        ........
        unsigned long long addr;
       ......
          ......
        addr = (unsigned long long) xhci_trb_virt_to_dma(ring->deq_seg, 
ring->dequeue);
}

-- 
Regards,
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to