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 998b299..546d9d3 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;
 }