mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
[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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
289f42492c
commit
b6f99a2119
8 changed files with 12 additions and 12 deletions
|
|
@ -61,7 +61,7 @@ static int brnf_filter_vlan_tagged __read_mostly = 1;
|
|||
#define brnf_filter_vlan_tagged 1
|
||||
#endif
|
||||
|
||||
static __be16 inline vlan_proto(const struct sk_buff *skb)
|
||||
static inline __be16 vlan_proto(const struct sk_buff *skb)
|
||||
{
|
||||
return vlan_eth_hdr(skb)->h_vlan_encapsulated_proto;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue