http: remove unnecessary check
authorBrian White <mscdex@mscdex.net>
Mon, 15 Feb 2016 09:47:06 +0000 (04:47 -0500)
committerMyles Borins <mborins@us.ibm.com>
Mon, 21 Mar 2016 19:57:55 +0000 (12:57 -0700)
commitca5d7a8bb62feb9c6fdbb4f16c40a0c2598b00d4
tree846772f70078fe50a19ea01c939809a239db3d8f
parent46a5d519dd4b7485bbeeace33c4f78f2805c2055
http: remove unnecessary check

The value passed to `process.nextTick()` which is passed to the
callback is already a valid object, so the conditional will always
evaluate to true.

PR-URL: https://github.com/nodejs/node/pull/5233
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
lib/_http_outgoing.js