From: Denys Vlasenko Date: Fri, 28 Mar 2008 22:57:39 +0000 (-0700) Subject: [NET]: Add inline intent commentary to dev_alloc_skb(). X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=1483b8744e1a189b2018e2a1bd82f343d6bb52d2;p=deliverable%2Flinux.git [NET]: Add inline intent commentary to dev_alloc_skb(). Signed-off-by: Denys Vlasenko Signed-off-by: David S. Miller --- diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 86e5682728be..6ef7008a3ef3 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -277,6 +277,10 @@ struct sk_buff *__netdev_alloc_skb(struct net_device *dev, */ struct sk_buff *dev_alloc_skb(unsigned int length) { + /* + * There is more code here than it seems: + * __def_alloc_skb is an inline + */ return __dev_alloc_skb(length, GFP_ATOMIC); } EXPORT_SYMBOL(dev_alloc_skb);