mirror of
https://git.zx2c4.com/wireguard-go
synced 2025-10-21 07:40:44 +08:00
device: reduce size of trie struct
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
@@ -39,10 +39,3 @@ func (a *AtomicBool) Set(val bool) {
|
||||
}
|
||||
atomic.StoreInt32(&a.int32, flag)
|
||||
}
|
||||
|
||||
func min(a, b uint) uint {
|
||||
if a > b {
|
||||
return b
|
||||
}
|
||||
return a
|
||||
}
|
||||
|
Reference in New Issue
Block a user