Re: [PATCH] usbip: Replace unused kvec array with single variable in vhci_send_cmd_unlink()

2019-06-03 Thread shuah
On 6/3/19 9:02 AM, Suwan Kim wrote: 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 --- drivers/usb/usbip/vhci_tx.c | 12 +--- 1 file

[PATCH] usbip: Replace unused kvec array with single variable in vhci_send_cmd_unlink()

2019-06-03 Thread Suwan Kim
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 --- drivers/usb/usbip/vhci_tx.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-)