diff --git a/test/core/util/port_posix.c b/test/core/util/port_posix.c index 7e270ff9757..f13960156fa 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 36c8d2856ce..90237196758 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 */