aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/hashtables.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-09-16 01:03:21 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-09-16 03:28:38 +0200
commite3fe672a287240cb19d627f6b0003e391b73975d (patch)
tree6c58cfe16a0cde5dc485ab1169ac83187037f9da /src/hashtables.c
parentsend/receive: reduce number of sg entries (diff)
downloadwireguard-monolithic-historical-e3fe672a287240cb19d627f6b0003e391b73975d.tar.xz
wireguard-monolithic-historical-e3fe672a287240cb19d627f6b0003e391b73975d.zip
global: remove non-essential inline annotations
Diffstat (limited to 'src/hashtables.c')
-rw-r--r--src/hashtables.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hashtables.c b/src/hashtables.c
index 4ba2288..5aaebb6 100644
--- a/src/hashtables.c
+++ b/src/hashtables.c
@@ -7,7 +7,7 @@
#include "peer.h"
#include "noise.h"
-static inline struct hlist_head *pubkey_bucket(struct pubkey_hashtable *table,
+static struct hlist_head *pubkey_bucket(struct pubkey_hashtable *table,
const u8 pubkey[NOISE_PUBLIC_KEY_LEN])
{
/* siphash gives us a secure 64bit number based on a random key. Since
@@ -64,8 +64,8 @@ pubkey_hashtable_lookup(struct pubkey_hashtable *table,
return peer;
}
-static inline struct hlist_head *index_bucket(struct index_hashtable *table,
- const __le32 index)
+static struct hlist_head *index_bucket(struct index_hashtable *table,
+ const __le32 index)
{
/* Since the indices are random and thus all bits are uniformly
* distributed, we can find its bucket simply by masking.