Permalink
Browse files

benchmark: removed unused arguments from callbacks

Removed unused arguments 'buf' and 'rinfo' from the callbacks.

PR-URL: #14919
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information...
abhishek-raj authored and jasnell committed Aug 18, 2017
1 parent f0d8eb6 commit 36817f7f18c7d3e7ae72434ad6180b3141090443
Showing with 3 additions and 3 deletions.
  1. +1 −1 benchmark/dgram/multi-buffer.js
  2. +1 −1 benchmark/dgram/offset-length.js
  3. +1 −1 benchmark/dgram/single-buffer.js
@@ -64,7 +64,7 @@ function server() {
}, dur * 1000);
});
socket.on('message', function(buf, rinfo) {
socket.on('message', function() {
received++;
});
@@ -56,7 +56,7 @@ function server() {
}, dur * 1000);
});
socket.on('message', function(buf, rinfo) {
socket.on('message', function() {
received++;
});
@@ -56,7 +56,7 @@ function server() {
}, dur * 1000);
});
socket.on('message', function(buf, rinfo) {
socket.on('message', function() {
received++;
});

0 comments on commit 36817f7

Please sign in to comment.