diff --git a/test/core/util/port_posix.c b/test/core/util/port_posix.c index 7e270ff97572cc7bccad148c2f1160f532a5436c..f13960156fad15673573af85b87011a4516c2fc7 100644 --- a/test/core/util/port_posix.c +++ b/test/core/util/port_posix.c @@ -234,8 +234,6 @@ int grpc_pick_unused_port_or_die(void) { return port; } -void grpc_recycle_unused_port(int port) { - GPR_ASSERT(free_chosen_port(port)); -} +void grpc_recycle_unused_port(int port) { GPR_ASSERT(free_chosen_port(port)); } #endif /* GPR_POSIX_SOCKET && GRPC_TEST_PICK_PORT */ diff --git a/test/core/util/port_windows.c b/test/core/util/port_windows.c index 36c8d2856ce65d90b0430213b4671c3ad2c8b2a9..9023719675824840b55fb60ad506f3653e9cf4fb 100644 --- a/test/core/util/port_windows.c +++ b/test/core/util/port_windows.c @@ -240,8 +240,6 @@ int grpc_pick_unused_port_or_die(void) { return port; } -void grpc_recycle_unused_port(int port) { - GPR_ASSERT(free_chosen_port(port)); -} +void grpc_recycle_unused_port(int port) { GPR_ASSERT(free_chosen_port(port)); } #endif /* GPR_WINSOCK_SOCKET && GRPC_TEST_PICK_PORT */