if (dma) {
struct dma_controller *c;
u16 rx_count;
- int status;
+ int ret;
rx_count = musb_readw(epio, MUSB_RXCOUNT);
* transfer_buffer_length needs to be
* adjusted first...
*/
- status = c->channel_program(
+ ret = c->channel_program(
dma, qh->maxpacket,
dma->desired_mode,
urb->transfer_dma
? rx_count
: urb->transfer_buffer_length);
- if (!status) {
+ if (!ret) {
c->channel_release(dma);
dma = hw_ep->rx_channel = NULL;
/* REVISIT reset CSR */