Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1483b874 authored by Denys Vlasenko's avatar Denys Vlasenko Committed by David S. Miller
Browse files

[NET]: Add inline intent commentary to dev_alloc_skb().

parent 1567ca7e
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -277,6 +277,10 @@ struct sk_buff *__netdev_alloc_skb(struct net_device *dev,
 */
 */
struct sk_buff *dev_alloc_skb(unsigned int length)
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);
	return __dev_alloc_skb(length, GFP_ATOMIC);
}
}
EXPORT_SYMBOL(dev_alloc_skb);
EXPORT_SYMBOL(dev_alloc_skb);