/* gelic_card_free_chain - free descriptor chain @card: card structure @descr_in: address of desc  */
static void gelic_card_free_chain(struct gelic_card *card, struct gelic_descr *descr_in)
/* gelic_card_free_chain - free descriptor chain @card: card structure @descr_in: address of desc  */
static void gelic_card_free_chain(struct gelic_card *card, struct gelic_descr *descr_in)
{
	struct gelic_descr *descr;
	for (descr = descr_in; descr && descr->bus_addr; descr = descr->next) {
		dma_unmap_single(ctodev(card), descr->bus_addr,
				 GELIC_DESCR_SIZE, DMA_BIDIRECTIONAL);
		descr->bus_addr = 0;
	}
}