diff options
author | James Chapman <jchapman@katalix.com> | 2024-08-07 07:54:45 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-08-11 04:38:49 +0100 |
commit | 168464c19e1ab7ddc5fb80d9c9560cfbcce6211d (patch) | |
tree | 2918b0f63aabedde9106845068d41598a1668e67 /net/l2tp/l2tp_ip.c | |
parent | e2b1762cf32fb9be1e662ec1e8f3b8b36a9b293d (diff) |
l2tp: remove inline from functions in c sources
Update l2tp to remove the inline keyword from several functions in C
sources, since this is now discouraged.
Signed-off-by: James Chapman <jchapman@katalix.com>
Signed-off-by: Tom Parkin <tparkin@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp/l2tp_ip.c')
-rw-r--r-- | net/l2tp/l2tp_ip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/l2tp/l2tp_ip.c b/net/l2tp/l2tp_ip.c index f21dcbf3efd5..9bd29667ae34 100644 --- a/net/l2tp/l2tp_ip.c +++ b/net/l2tp/l2tp_ip.c @@ -37,7 +37,7 @@ static DEFINE_RWLOCK(l2tp_ip_lock); static struct hlist_head l2tp_ip_table; static struct hlist_head l2tp_ip_bind_table; -static inline struct l2tp_ip_sock *l2tp_ip_sk(const struct sock *sk) +static struct l2tp_ip_sock *l2tp_ip_sk(const struct sock *sk) { return (struct l2tp_ip_sock *)sk; } |