Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information