Skip to content

Commit e5116b3

Browse files
committed
quic: remove unused function arguments
validateTransportParams() only takes (and only uses) one argument. PR-URL: #35010 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent ef4e3b5 commit e5116b3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/internal/quic/util.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -634,11 +634,7 @@ function validateQuicSocketListenOptions(options = {}) {
634634
'function',
635635
clientHelloHandler);
636636
}
637-
const transportParams =
638-
validateTransportParams(
639-
options,
640-
NGTCP2_MAX_CIDLEN,
641-
NGTCP2_MIN_CIDLEN);
637+
const transportParams = validateTransportParams(options);
642638

643639
return {
644640
alpn,

0 commit comments

Comments
 (0)