diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-09-16 15:32:42 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-09-16 15:33:18 +0200 |
commit | e7e92404695c0b3b0e3e44305679ac11a904a69a (patch) | |
tree | 80b26d9784fbb16a05c3b539eba238bf280690ac /src/receive.c | |
parent | 473eacd9f4ad2c0c1ec330f61aad281fdc63ee85 (diff) |
send: no need to check for NULL since ref is valid
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/receive.c')
-rw-r--r-- | src/receive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/receive.c b/src/receive.c index 08b2fe2..da229df 100644 --- a/src/receive.c +++ b/src/receive.c @@ -157,7 +157,7 @@ void packet_process_queued_handshake_packets(struct work_struct *work) } } -static void keep_key_fresh(struct wireguard_peer *peer) +static inline void keep_key_fresh(struct wireguard_peer *peer) { struct noise_keypair *keypair; bool send = false; |