net: Missing 'inline' in vlan-disabled vlan_untag()
authorDavid S. Miller <davem@davemloft.net>
Wed, 13 Apr 2011 02:27:51 +0000 (19:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Apr 2011 02:27:51 +0000 (19:27 -0700)
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_vlan.h

index 998b29930b80efc3f4dafffaffbbaa9e9c2a108e..546d9d35fbd4878dc6bf8c1d8ff7c8ecb34415c8 100644 (file)
@@ -174,7 +174,7 @@ static inline bool vlan_do_receive(struct sk_buff **skb)
        return false;
 }
 
-inline struct sk_buff *vlan_untag(struct sk_buff *skb)
+static inline struct sk_buff *vlan_untag(struct sk_buff *skb)
 {
        return skb;
 }