[NET]: fix up misplaced inlines.
Turning up the warnings on gcc makes it emit warnings about the placement of 'inline' in function declarations. Here's everything that was under net/ Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
289f42492c
commit
b6f99a2119
@@ -808,7 +808,7 @@ lenout:
|
||||
*
|
||||
* (We also register the sk_lock with the lock validator.)
|
||||
*/
|
||||
static void inline sock_lock_init(struct sock *sk)
|
||||
static inline void sock_lock_init(struct sock *sk)
|
||||
{
|
||||
sock_lock_init_class_and_name(sk,
|
||||
af_family_slock_key_strings[sk->sk_family],
|
||||
|
Reference in New Issue
Block a user