trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shinr...@apache.org
Subject [trafficserver] branch master updated: Remove unused read_vio_cont/write_vio_cont methods (#8092)
Date Tue, 20 Jul 2021 17:28:01 GMT
This is an automated email from the ASF dual-hosted git repository.

shinrich pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 226687e  Remove unused read_vio_cont/write_vio_cont methods (#8092)
226687e is described below

commit 226687e491cf3cb6483cf6acecfaf75e66d42b91
Author: Susan Hinrichs <shinrich@verizonmedia.com>
AuthorDate: Tue Jul 20 12:27:51 2021 -0500

    Remove unused read_vio_cont/write_vio_cont methods (#8092)
---
 iocore/net/I_NetVConnection.h     | 11 -----------
 iocore/net/P_UnixNetVConnection.h |  3 ---
 iocore/net/UnixNetVConnection.cc  | 12 ------------
 3 files changed, 26 deletions(-)

diff --git a/iocore/net/I_NetVConnection.h b/iocore/net/I_NetVConnection.h
index a23e08c..87a881c 100644
--- a/iocore/net/I_NetVConnection.h
+++ b/iocore/net/I_NetVConnection.h
@@ -389,12 +389,6 @@ public:
   */
   VIO *do_io_read(Continuation *c, int64_t nbytes, MIOBuffer *buf) override = 0;
 
-  virtual Continuation *
-  read_vio_cont()
-  {
-    return nullptr;
-  }
-
   /**
     Initiates write. Thread-safe, may be called when not handling
     an event from the NetVConnection, or the NetVConnection creation
@@ -431,11 +425,6 @@ public:
   */
   VIO *do_io_write(Continuation *c, int64_t nbytes, IOBufferReader *buf, bool owner = false)
override = 0;
 
-  virtual Continuation *
-  write_vio_cont()
-  {
-    return nullptr;
-  }
   /**
     Closes the vconnection. A state machine MUST call do_io_close()
     when it has finished with a VConnection. do_io_close() indicates
diff --git a/iocore/net/P_UnixNetVConnection.h b/iocore/net/P_UnixNetVConnection.h
index ca79b76..e3fb922 100644
--- a/iocore/net/P_UnixNetVConnection.h
+++ b/iocore/net/P_UnixNetVConnection.h
@@ -94,9 +94,6 @@ public:
   VIO *do_io_read(Continuation *c, int64_t nbytes, MIOBuffer *buf) override;
   VIO *do_io_write(Continuation *c, int64_t nbytes, IOBufferReader *buf, bool owner = false)
override;
 
-  Continuation *read_vio_cont() override;
-  Continuation *write_vio_cont() override;
-
   bool get_data(int id, void *data) override;
 
   const char *
diff --git a/iocore/net/UnixNetVConnection.cc b/iocore/net/UnixNetVConnection.cc
index 8d1f382..6978247 100644
--- a/iocore/net/UnixNetVConnection.cc
+++ b/iocore/net/UnixNetVConnection.cc
@@ -633,18 +633,6 @@ UnixNetVConnection::do_io_write(Continuation *c, int64_t nbytes, IOBufferReader
   return &write.vio;
 }
 
-Continuation *
-UnixNetVConnection::read_vio_cont()
-{
-  return read.vio.cont;
-}
-
-Continuation *
-UnixNetVConnection::write_vio_cont()
-{
-  return write.vio.cont;
-}
-
 void
 UnixNetVConnection::do_io_close(int alerrno /* = -1 */)
 {

Mime
View raw message