diff options
Diffstat (limited to 'include/linux/skbuff.h')
-rw-r--r-- | include/linux/skbuff.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 22b701819619..c77d745cbd3f 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h | |||
@@ -968,6 +968,7 @@ static inline void __skb_queue_purge(struct sk_buff_head *list) | |||
968 | kfree_skb(skb); | 968 | kfree_skb(skb); |
969 | } | 969 | } |
970 | 970 | ||
971 | #ifndef CONFIG_HAVE_ARCH_DEV_ALLOC_SKB | ||
971 | /** | 972 | /** |
972 | * __dev_alloc_skb - allocate an skbuff for sending | 973 | * __dev_alloc_skb - allocate an skbuff for sending |
973 | * @length: length to allocate | 974 | * @length: length to allocate |
@@ -980,7 +981,6 @@ static inline void __skb_queue_purge(struct sk_buff_head *list) | |||
980 | * | 981 | * |
981 | * %NULL is returned in there is no free memory. | 982 | * %NULL is returned in there is no free memory. |
982 | */ | 983 | */ |
983 | #ifndef CONFIG_HAVE_ARCH_DEV_ALLOC_SKB | ||
984 | static inline struct sk_buff *__dev_alloc_skb(unsigned int length, | 984 | static inline struct sk_buff *__dev_alloc_skb(unsigned int length, |
985 | int gfp_mask) | 985 | int gfp_mask) |
986 | { | 986 | { |