Remove unused deleteReaderAndWriter() method
diff --git a/common/rfb/CConnection.cxx b/common/rfb/CConnection.cxx
index 8ccd948..8cfc2b2 100644
--- a/common/rfb/CConnection.cxx
+++ b/common/rfb/CConnection.cxx
@@ -43,11 +43,6 @@
 CConnection::~CConnection()
 {
   if (csecurity) csecurity->destroy();
-  deleteReaderAndWriter();
-}
-
-void CConnection::deleteReaderAndWriter()
-{
   delete reader_;
   reader_ = 0;
   delete writer_;
diff --git a/common/rfb/CConnection.h b/common/rfb/CConnection.h
index 0109fe8..b767ede 100644
--- a/common/rfb/CConnection.h
+++ b/common/rfb/CConnection.h
@@ -101,13 +101,6 @@
 
     // Other methods
 
-    // deleteReaderAndWriter() deletes the reader and writer associated with
-    // this connection.  This may be useful if you want to delete the streams
-    // before deleting the SConnection to make sure that no attempt by the
-    // SConnection is made to read or write.
-    // XXX Do we really need this at all???
-    void deleteReaderAndWriter();
-
     CMsgReader* reader() { return reader_; }
     CMsgWriter* writer() { return writer_; }
 
diff --git a/common/rfb/SConnection.cxx b/common/rfb/SConnection.cxx
index bfff70c..cc15d7c 100644
--- a/common/rfb/SConnection.cxx
+++ b/common/rfb/SConnection.cxx
@@ -67,11 +67,6 @@
 SConnection::~SConnection()
 {
   if (ssecurity) ssecurity->destroy();
-  deleteReaderAndWriter();
-}
-
-void SConnection::deleteReaderAndWriter()
-{
   delete reader_;
   reader_ = 0;
   delete writer_;
diff --git a/common/rfb/SConnection.h b/common/rfb/SConnection.h
index ef1de2b..b43cf08 100644
--- a/common/rfb/SConnection.h
+++ b/common/rfb/SConnection.h
@@ -140,13 +140,6 @@
     bool authenticated() { return (state_ == RFBSTATE_INITIALISATION ||
                                    state_ == RFBSTATE_NORMAL); }
 
-    // deleteReaderAndWriter() deletes the reader and writer associated with
-    // this connection.  This may be useful if you want to delete the streams
-    // before deleting the SConnection to make sure that no attempt by the
-    // SConnection is made to read or write.
-    // XXX Do we really need this at all???
-    void deleteReaderAndWriter();
-
     // throwConnFailedException() prints a message to the log, sends a conn
     // failed message to the client (if possible) and throws a
     // ConnFailedException.