Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
librdmacm/cmtime: Use local variable instead of global variable
Instead of using a hidden global variable that's set to the iteration parameter, use the iter parameter directly and pass it through to sub-functions. This makes the code easier to read. Note that the global connections variable is still needed after this patch in order to track asynchronous events that need to be processed. However, its use is reduced. Signed-off-by: Sean Hefty <[email protected]>
- Loading branch information
Sean Hefty
committed
Apr 16, 2024
1 parent
21af2b3
commit 1a83d8e
Showing
1 changed file
with
26 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters