From e7e92404695c0b3b0e3e44305679ac11a904a69a Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sat, 16 Sep 2017 15:32:42 +0200 Subject: send: no need to check for NULL since ref is valid Signed-off-by: Jason A. Donenfeld --- src/receive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/receive.c') 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; -- cgit v1.2.3