diff --git a/rcl/src/rcl/wait.c b/rcl/src/rcl/wait.c index 5426419725..58cc982a71 100644 --- a/rcl/src/rcl/wait.c +++ b/rcl/src/rcl/wait.c @@ -488,7 +488,6 @@ rcl_ret_t rcl_wait(rcl_wait_set_t * wait_set, int64_t timeout) { RCL_CHECK_ARGUMENT_FOR_NULL(wait_set, RCL_RET_INVALID_ARGUMENT); - RCL_CHECK_ARGUMENT_FOR_NULL(timeout, RCL_RET_INVALID_ARGUMENT); if (!__wait_set_is_valid(wait_set)) { RCL_SET_ERROR_MSG("wait set is invalid"); return RCL_RET_WAIT_SET_INVALID;