OpenCloudOS-Kernel/tools/usb/usbip/src
Eric Curtin 0c61814544 tools: usbip: detach: avoid calling strlen() at each iteration
Instead of calling strlen on every iteration of the for loop, just call it
once and cache the result in a temporary local variable which will be used
in the for loop instead.

Signed-off-by: Eric Curtin <ericcurtin17@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-22 12:07:45 -07:00
..
Makefile.am usbip: move usbip userspace code out of staging 2014-08-25 10:38:56 -07:00
usbip.c usbip: move usbip userspace code out of staging 2014-08-25 10:38:56 -07:00
usbip.h usbip: move usbip userspace code out of staging 2014-08-25 10:38:56 -07:00
usbip_attach.c usbip: move usbip userspace code out of staging 2014-08-25 10:38:56 -07:00
usbip_bind.c usbip: move usbip userspace code out of staging 2014-08-25 10:38:56 -07:00
usbip_detach.c tools: usbip: detach: avoid calling strlen() at each iteration 2015-09-22 12:07:45 -07:00
usbip_list.c usbip: move usbip userspace code out of staging 2014-08-25 10:38:56 -07:00
usbip_network.c usbip: move usbip userspace code out of staging 2014-08-25 10:38:56 -07:00
usbip_network.h usbip: move usbip userspace code out of staging 2014-08-25 10:38:56 -07:00
usbip_port.c usbip: move usbip userspace code out of staging 2014-08-25 10:38:56 -07:00
usbip_unbind.c usbip: move usbip userspace code out of staging 2014-08-25 10:38:56 -07:00
usbipd.c usbip: remove unneeded structure 2014-12-02 16:15:02 -08:00
utils.c usbip: move usbip userspace code out of staging 2014-08-25 10:38:56 -07:00
utils.h usbip: move usbip userspace code out of staging 2014-08-25 10:38:56 -07:00