USB: cdc-acm: clean up read urb allocation
authorJohan Hovold <jhovold@gmail.com>
Tue, 22 Mar 2011 10:12:23 +0000 (11:12 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 13 Apr 2011 23:18:33 +0000 (16:18 -0700)
commit74f5e1babde76149c2bb35ca5dbf4d0b9b38f161
treee1decdeda369dd635e8a1c4def9c7582c623560c
parent94d4c8919de3ae9e2e029ed121adfed43803bb5d
USB: cdc-acm: clean up read urb allocation

Allocate read urbs and read buffers in the same loop during probe.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/class/cdc-acm.c