]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
device: always name *Queue*Element variables elem
authorJosh Bleecher Snyder <josh@tailscale.com>
Wed, 16 Dec 2020 00:00:52 +0000 (16:00 -0800)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 7 Jan 2021 13:49:44 +0000 (14:49 +0100)
commitc8faa34cdee37d9bcb588675e2385024bef86c18
tree0a228df9a2e2438388918c766577255496aa6e3c
parent2832e96339b4b847172741e9252020fc7bfa59af
device: always name *Queue*Element variables elem

They're called elem in most places.
Rename a few local variables to make it consistent.
This makes it easier to grep the code for things like elem.Drop.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
device/pools.go
device/receive.go
device/send.go