From 2fcc9d9637b807b76faa6b948a971aad35944bec Mon Sep 17 00:00:00 2001 From: nishijayaraj Date: Sat, 5 Aug 2017 17:37:10 +0530 Subject: [PATCH] benchmark: remove unused parameters Functions onOnline and onMessage in benchmark/cluster/echo.js had unused parameters. They were removed. --- benchmark/cluster/echo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmark/cluster/echo.js b/benchmark/cluster/echo.js index 0733bdbd2077aa..1aa06120e15087 100644 --- a/benchmark/cluster/echo.js +++ b/benchmark/cluster/echo.js @@ -34,7 +34,7 @@ if (cluster.isMaster) { for (var i = 0; i < workers; ++i) cluster.fork().on('online', onOnline).on('message', onMessage); - function onOnline(msg) { + function onOnline() { if (++readies === workers) { bench.start(); broadcast(); @@ -56,7 +56,7 @@ if (cluster.isMaster) { } } - function onMessage(msg) { + function onMessage() { if (++msgCount === expectedPerBroadcast) { msgCount = 0; broadcast();