diff options
| author | Daniel Martí <mvdan@mvdan.cc> | 2019-04-28 23:03:35 +0700 |
|---|---|---|
| committer | Daniel Martí <mvdan@mvdan.cc> | 2019-04-29 13:31:54 +0000 |
| commit | a27ede0ba9cd038582ea459f3c0e8419af4a2b88 (patch) | |
| tree | a10df9d8cda519f7c60408a6fe739ec5027ee575 /src/os/exec/exec.go | |
| parent | 45ed3dbddf98eb421bc3aefd4c29c016a69c9ab1 (diff) | |
| download | go-a27ede0ba9cd038582ea459f3c0e8419af4a2b88.tar.xz | |
all: remove a few unused parameters
I recently modified tabwriter to reduce the number of defers due to
flush calls. However, I forgot to notice that the new function
flushNoDefers can no longer return an error, due to the lack of the
defer.
In crypto/tls, hashForServerKeyExchange never returned a non-nil error,
so simplify the code.
Finally, in go/types and net we can find a few trivially unused
parameters, so remove them.
Change-Id: I54c8de83fbc944df432453b55c93008d7e810e61
Reviewed-on: https://go-review.googlesource.com/c/go/+/174131
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Benny Siegert <bsiegert@gmail.com>
Diffstat (limited to 'src/os/exec/exec.go')
0 files changed, 0 insertions, 0 deletions
