From a7367fdc1e3161eef5e553f9e8aeffeb9582b802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Sch=C3=A4r?= Date: Fri, 20 Nov 2015 20:23:25 +0100 Subject: [PATCH] net: small code cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `options` is already a param of the function. PR-URL: https://github.com/nodejs/node/pull/3943 Reviewed-By: Evan Lucas Reviewed-By: Michaƫl Zasso Reviewed-By: Myles Borins Reviewed-By: Colin Ihrig --- lib/net.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/net.js b/lib/net.js index 58c9a3bc34c737..f778043572362e 100644 --- a/lib/net.js +++ b/lib/net.js @@ -1081,7 +1081,6 @@ function Server(options, connectionListener) { EventEmitter.call(this); var self = this; - var options; if (typeof options === 'function') { connectionListener = options;