Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian White <mscdex@mscdex.net>2017-08-21 10:31:24 +0300
committerJames M Snell <jasnell@gmail.com>2017-08-23 18:23:15 +0300
commit893523931959f746a0ae6a73b39f5f8e5905b127 (patch)
tree48a7786961325ed1f7aadc9699a366bc9c0bd247 /src/stream_wrap.h
parent7c948ce233c2401ca36ab66195fc0599011141ee (diff)
src: remove unnecessary helper function
Ever since e2fcfea46e, `OnReadCommon()` is no longer shared between more than one function. PR-URL: https://github.com/nodejs/node/pull/14959 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/stream_wrap.h')
-rw-r--r--src/stream_wrap.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/stream_wrap.h b/src/stream_wrap.h
index 161bcd550f6..584e524df57 100644
--- a/src/stream_wrap.h
+++ b/src/stream_wrap.h
@@ -104,10 +104,6 @@ class StreamWrap : public HandleWrap, public StreamBase {
static void OnRead(uv_stream_t* handle,
ssize_t nread,
const uv_buf_t* buf);
- static void OnReadCommon(uv_stream_t* handle,
- ssize_t nread,
- const uv_buf_t* buf,
- uv_handle_type pending);
static void AfterWrite(uv_write_t* req, int status);
static void AfterShutdown(uv_shutdown_t* req, int status);