summaryrefslogtreecommitdiffstats
path: root/device
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-02-22 15:43:08 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2021-02-23 20:00:57 +0100
commitf9dac7099ef1dd46ed03e8aa8453f3c5211954b8 (patch)
tree4994384b00c61cffa01ba77f37300a694d1254b0 /device
parentdevice: test up/down using virtual conn (diff)
downloadwireguard-go-f9dac7099ef1dd46ed03e8aa8453f3c5211954b8.tar.xz
wireguard-go-f9dac7099ef1dd46ed03e8aa8453f3c5211954b8.zip
global: remove TODO name graffiti
Googlers have a habit of graffiting their name in TODO items that then are never addressed, and other people won't go near those because they're marked territory of another animal. I've been gradually cleaning these up as I see them, but this commit just goes all the way and removes the remaining stragglers. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'device')
-rw-r--r--device/noise-protocol.go1
-rw-r--r--device/send.go2
2 files changed, 1 insertions, 2 deletions
diff --git a/device/noise-protocol.go b/device/noise-protocol.go
index e89721f..0212b7d 100644
--- a/device/noise-protocol.go
+++ b/device/noise-protocol.go
@@ -20,7 +20,6 @@ import (
type handshakeState int
-// TODO(crawshaw): add commentary describing each state and the transitions
const (
handshakeZeroed = handshakeState(iota)
handshakeInitiationCreated
diff --git a/device/send.go b/device/send.go
index 6a3b30b..cb1607b 100644
--- a/device/send.go
+++ b/device/send.go
@@ -421,7 +421,7 @@ func (peer *Peer) RoutineSequentialSender() {
// This is an optimization only. It is possible for the peer to be stopped
// immediately after this check, in which case, elem will get processed.
// The timers and SendBuffer code are resilient to a few stragglers.
- // TODO(josharian): rework peer shutdown order to ensure
+ // TODO: rework peer shutdown order to ensure
// that we never accidentally keep timers alive longer than necessary.
device.PutMessageBuffer(elem.buffer)
device.PutOutboundElement(elem)