Skip to content

Commit

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

PR-URL: nodejs#35010
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
Trott authored and joesepi committed Oct 22, 2020
1 parent fed800c commit 0de246d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/internal/quic/util.js
Original file line number Diff line number Diff line change
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 0de246d

Please sign in to comment.