Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
quic: remove unused function arguments
validateTransportParams() only takes (and only uses) one argument.

PR-URL: #35010
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
Trott committed Sep 4, 2020
1 parent ef4e3b5 commit e5116b3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/internal/quic/util.js
Expand Up @@ -634,11 +634,7 @@ function validateQuicSocketListenOptions(options = {}) {
'function',
clientHelloHandler);
}
const transportParams =
validateTransportParams(
options,
NGTCP2_MAX_CIDLEN,
NGTCP2_MIN_CIDLEN);
const transportParams = validateTransportParams(options);

return {
alpn,
Expand Down

0 comments on commit e5116b3

Please sign in to comment.