go/scanner: remove some code

R=r
CC=golang-dev
https://golang.org/cl/4550077
2 files changed