/* Clean up the PCI ring buffers allocated to this velocity.  */
static void velocity_free_dma_rings(struct velocity_info *vptr)
/* Clean up the PCI ring buffers allocated to this velocity.  */
static void velocity_free_dma_rings(struct velocity_info *vptr)
{
	const int size = vptr->options.numrx * sizeof(struct rx_desc) +
		vptr->options.numtx * sizeof(struct tx_desc) * vptr->tx.numq;
	pci_free_consistent(vptr->pdev, size, vptr->rx.ring, vptr->rx.pool_dma);
}