From b5aaccc6af5cf67978029e380fadf245e73cf4cf Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Wed, 23 Dec 2015 01:15:44 -0800 Subject: [PATCH] lib: remove unused modules Some files in `lib` were using `require` to load modules that were subsequently not used in the file. This removes those `require` statements. PR-URL: https://github.com/nodejs/node/pull/4396 Reviewed-By: Colin Ihrig Reviewed-By: Ben Noordhuis --- lib/_http_client.js | 1 - lib/os.js | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/_http_client.js b/lib/_http_client.js index 02d6e7ed37..10c7d0627d 100644 --- a/lib/_http_client.js +++ b/lib/_http_client.js @@ -3,7 +3,6 @@ const util = require('util'); const net = require('net'); const url = require('url'); -const EventEmitter = require('events'); const HTTPParser = process.binding('http_parser').HTTPParser; const assert = require('assert').ok; const common = require('_http_common'); diff --git a/lib/os.js b/lib/os.js index 2d537f5384..ddf7cee9d4 100644 --- a/lib/os.js +++ b/lib/os.js @@ -1,7 +1,6 @@ 'use strict'; const binding = process.binding('os'); -const util = require('util'); const internalUtil = require('internal/util'); const isWindows = process.platform === 'win32';