[Tarantool-patches] [PATCH v2 1/2] fiber: fiber_join -- drop redundat variable
Cyrill Gorcunov
gorcunov at gmail.com
Wed Apr 28 13:22:50 MSK 2021
No need for additional variable here.
In-scope-of #6046
Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
src/lib/core/fiber.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/lib/core/fiber.c b/src/lib/core/fiber.c
index cb6295171..a4b60e864 100644
--- a/src/lib/core/fiber.c
+++ b/src/lib/core/fiber.c
@@ -614,8 +614,7 @@ fiber_reschedule(void)
int
fiber_join(struct fiber *fiber)
{
- int rc = fiber_join_timeout(fiber, TIMEOUT_INFINITY);
- return rc;
+ return fiber_join_timeout(fiber, TIMEOUT_INFINITY);
}
int
--
2.30.2
More information about the Tarantool-patches
mailing list