[alsa-devel] [patch] ALSA: usx2y: remove some old dead code

Takashi Iwai tiwai at suse.de
Mon Jun 17 10:50:07 CEST 2013


At Sun, 9 Jun 2013 16:14:25 +0300,
Dan Carpenter wrote:
> 
> USB_QUEUE_BULK isn't defined any more.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

Thanks, applied.


Takashi


> diff --git a/sound/usb/usx2y/usbusx2yaudio.c b/sound/usb/usx2y/usbusx2yaudio.c
> index b376532..4967fe9 100644
> --- a/sound/usb/usx2y/usbusx2yaudio.c
> +++ b/sound/usb/usx2y/usbusx2yaudio.c
> @@ -695,9 +695,6 @@ static int usX2Y_rate_set(struct usX2Ydev *usX2Y, int rate)
>  			((char*)(usbdata + i))[1] = ra[i].c2;
>  			usb_fill_bulk_urb(us->urb[i], usX2Y->dev, usb_sndbulkpipe(usX2Y->dev, 4),
>  					  usbdata + i, 2, i_usX2Y_04Int, usX2Y);
> -#ifdef OLD_USB
> -			us->urb[i]->transfer_flags = USB_QUEUE_BULK;
> -#endif
>  		}
>  		us->submitted =	0;
>  		us->len =	NOOF_SETRATE_URBS;
> 


More information about the Alsa-devel mailing list