Skip to content

Commit

Permalink
streams2: Remove extraneous bufferSize setting
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Dec 14, 2012
1 parent 20a88fe commit 854171d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/_stream_readable.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 854171d

Please sign in to comment.