]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
usb: misc: usbtest: delete useless memset for urbs array
authorPeter Chen <peter.chen@freescale.com>
Tue, 1 Sep 2015 01:47:59 +0000 (09:47 +0800)
committerFelipe Balbi <balbi@ti.com>
Sun, 27 Sep 2015 15:54:31 +0000 (10:54 -0500)
commita724ddfb17e0519d2c2b6e09a96b1b94eff6b801
tree91882cb114b3518ffe20b93aa34f685074941174
parent41d3c0b84d6e084865c429b1b6825256c0169319
usb: misc: usbtest: delete useless memset for urbs array

The element of urbs array will be initialized at below code
at once.

for (i = 0; i < param->sglen; i++) {
urbs[i] = iso_alloc_urb(udev, pipe, desc,
param->length, offset);

Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/misc/usbtest.c