usbip: Replace unused kvec array with single variable in vhci_send_cmd_unlink()
authorSuwan Kim <suwan.kim027@gmail.com>
Mon, 3 Jun 2019 15:02:11 +0000 (00:02 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Jun 2019 09:54:38 +0000 (11:54 +0200)
commitcf2b5010f41638e36d8adca8476f4baee64a8996
tree4b9b444375c906d79cf5bddfee490d2db7ef3043
parente60e982375244026ca46feeba0fb5bb4d51b5a67
usbip: Replace unused kvec array with single variable in vhci_send_cmd_unlink()

vhci_send_cmd_unlink() declears kvec array of size 3 but it actually
uses just one element of the array. So, remove kvec array and replace
it with single kvec variable.

Signed-off-by: Suwan Kim <suwan.kim027@gmail.com>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/usbip/vhci_tx.c