encoding/protobuf/jsonpb: remove unused code
When refactoring cue/load, I noticed that some pieces of code
were unused, which makes it less obvious what kinds of things
can be done. I used `staticcheck` to point out many other
places in the code that are unused.
This is one of those places. I feel it's better to remove this code
even if it might be used in the future (it's always there to be found
in the git history).
Signed-off-by: Roger Peppe <rogpeppe@gmail.com>
Change-Id: Ie025fe5557ecac15459c034c3d0876818554d166
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/549294
Unity-Result: CUEcueckoo <cueckoo+gerrithub@cuelang.org>
TryBot-Result: CUEcueckoo <cueckoo+gerrithub@cuelang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
authored by