usb: usbip: Remove unnecessary get_vdev()
authorYuyang Du <yuyang.du@intel.com>
Wed, 5 Apr 2017 22:03:22 +0000 (06:03 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Apr 2017 10:04:42 +0000 (12:04 +0200)
commit4eebed9a6447581fd2bb58f3cf5868d28b653670
tree71ed63b9524dd95d8018364dc3148210f0ce5afb
parent65c7843c942d0990e8b5f40aa4fdc755bbc15034
usb: usbip: Remove unnecessary get_vdev()

vhci_tx_urb() should be able to get the vhci_device from
its caller vhci_urb_enqueue(), instead of brutal-force
searching it.

Reviewed-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Signed-off-by: Yuyang Du <yuyang.du@intel.com>
Acked-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/usbip/vhci_hcd.c