]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/staging/usbip/vhci_hcd.c
usbip: simplify port status saving
authorMárton Németh <nm127@freemail.hu>
Mon, 13 Jun 2011 21:30:09 +0000 (23:30 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 6 Jul 2011 02:59:19 +0000 (19:59 -0700)
commit6f480bf9c3bf6c1241024c1763d12d025ff02292
tree290fd39353f18d971184fe0affe164e180cd8874
parent4a3ca2bebe090b7db7c0f663d502f9319a26a1f0
usbip: simplify port status saving

Use memcpy() function to save port status instead of
a handwritten for loop.

Signed-off-by: Márton Németh <nm127@freemail.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/usbip/vhci_hcd.c