Skip to content

Commit 00fe73e

Browse files
committed
Clean code
1 parent 5c862f3 commit 00fe73e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/core/tsi/ssl_transport_security.cc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2037,9 +2037,6 @@ static tsi_result ssl_handshaker_result_create(tsi_ssl_handshaker* handshaker,
20372037
if (handshaker != nullptr) handshaker->MaybeSetError("invalid argument");
20382038
return TSI_INVALID_ARGUMENT;
20392039
}
2040-
if (!handshaker->handshaker_next_args.has_value()) {
2041-
return TSI_INTERNAL_ERROR;
2042-
}
20432040
tsi_ssl_handshaker_result* result =
20442041
grpc_core::Zalloc<tsi_ssl_handshaker_result>();
20452042
result->base.vtable = &handshaker_result_vtable;

0 commit comments

Comments
 (0)