From: kn Date: Thu, 21 Jul 2022 11:26:50 +0000 (+0000) Subject: Zap unused global keypair_counter X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e23028ebb3fe294987a795d5c2233dfdcb4a9759;p=openbsd Zap unused global keypair_counter There since import. OK sthen --- diff --git a/sys/net/if_wg.c b/sys/net/if_wg.c index 21ae19f616c..e311f91cec4 100644 --- a/sys/net/if_wg.c +++ b/sys/net/if_wg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wg.c,v 1.25 2022/06/06 14:45:41 claudio Exp $ */ +/* $OpenBSD: if_wg.c,v 1.26 2022/07/21 11:26:50 kn Exp $ */ /* * Copyright (C) 2015-2020 Jason A. Donenfeld . All Rights Reserved. @@ -370,7 +370,6 @@ int wg_clone_destroy(struct ifnet *); void wgattach(int); uint64_t peer_counter = 0; -uint64_t keypair_counter = 0; struct pool wg_aip_pool; struct pool wg_peer_pool; struct pool wg_ratelimit_pool;