summaryrefslogtreecommitdiff
path: root/sound/ppc/Kconfig
diff options
context:
space:
mode:
authorThomas Pugliese <thomas.pugliese@gmail.com>2013-08-15 23:37:43 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-16 04:36:27 +0400
commit66591015d88d0b7fc88da79e2054830094ace4c9 (patch)
tree8970af4cfc9e4d4d3c44655ac8f50803a2bd3f80 /sound/ppc/Kconfig
parent79731cbd783d3693d4b84731e3cfc79b9f828170 (diff)
downloadlinux-66591015d88d0b7fc88da79e2054830094ace4c9.tar.xz
USB: WUSBCORE: Use usb_init_urb instead of creating the URB manually
In wa_seg_init, use usb_init_urb to init the URB object contained in the transfer segment instead of initializing it manually. Use kmalloc to allocate the memory for segment instead of kzalloc and then use memset to set the non-URB portion of the transfer segment struct to 0 since that was already done by usb_init_urb. Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/ppc/Kconfig')
0 files changed, 0 insertions, 0 deletions