remove dead code
This commit is contained in:
parent
23483f7959
commit
73b9284ec7
|
@ -63,13 +63,6 @@ func (c *Client) ExchangeConn(m *Msg, s net.Conn) (r *Msg, rtt time.Duration, er
|
|||
return r, w.rtt, err
|
||||
}
|
||||
|
||||
func (w *reply) RemoteAddr() net.Addr {
|
||||
if w.conn != nil {
|
||||
return w.conn.RemoteAddr()
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// dial connects to the address addr for the network set in c.Net
|
||||
func (w *reply) dial() (err error) {
|
||||
var conn net.Conn
|
||||
|
|
Loading…
Reference in New Issue