streams2: Remove extraneous bufferSize setting

pull/24504/head
isaacs 2012-12-13 11:15:29 -08:00
parent 20a88feb8f
commit 854171dc6f
1 changed files with 0 additions and 3 deletions

View File

@ -32,9 +32,6 @@ util.inherits(Readable, Stream);
function ReadableState(options, stream) {
options = options || {};
// cast to an int
this.bufferSize = ~~this.bufferSize;
// the argument passed to this._read(n,cb)
this.bufferSize = options.hasOwnProperty('bufferSize') ?
options.bufferSize : 16 * 1024;