x/tools/cmd/goyacc: remove unused function.

Found with honnef.co/go/tools/cmd/unused.

Change-Id: Iad26e1ae1dbeb29a3223279eccc4ba6f6bb48bd6
Reviewed-on: https://go-review.googlesource.com/37631
Reviewed-by: Alan Donovan <adonovan@google.com>
This commit is contained in:
David R. Jenni 2017-03-01 15:35:00 +01:00 committed by Alan Donovan
parent 718875e4f9
commit 43de7a390a
1 changed files with 0 additions and 4 deletions

View File

@ -3234,10 +3234,6 @@ func ungetrune(f *bufio.Reader, c rune) {
peekrune = c
}
func write(f *bufio.Writer, b []byte, n int) int {
panic("write")
}
func open(s string) *bufio.Reader {
fi, err := os.Open(s)
if err != nil {