Remove WriteFromSelf

This commit is contained in:
JackDoan
2026-04-28 10:56:57 -05:00
parent 8b02b8128e
commit a476b1fa07
14 changed files with 5 additions and 60 deletions

View File

@@ -525,10 +525,6 @@ func (t *tun) Read() ([][]byte, error) {
return t.batchRet[:], nil
}
func (t *tun) WriteFromSelf(p []byte) (int, error) {
return t.Write(p)
}
// Write is only valid for single threaded use
func (t *tun) Write(from []byte) (int, error) {
buf := t.out