diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-04-17 12:28:27 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-17 13:13:16 -0700 |
commit | b4dfa0b1fb39c7ffe74741d60668825de6a47b69 (patch) | |
tree | 1866a6b51f666b4969f6c0be55c25f31e4d42a51 /include | |
parent | 6f29e35e2d4cdbc3e8785982314e54ec5df4ad37 (diff) | |
download | op-kernel-dev-b4dfa0b1fb39c7ffe74741d60668825de6a47b69.zip op-kernel-dev-b4dfa0b1fb39c7ffe74741d60668825de6a47b69.tar.gz |
[NET]: Get rid of alloc_skb_from_cache
Since this was added originally for Xen, and Xen has recently (~2.6.18)
stopped using this function, we can safely get rid of it. Good timing
too since this function has started to bit rot.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/skbuff.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 82f43ad..0e86b60 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -346,9 +346,6 @@ static inline struct sk_buff *alloc_skb_fclone(unsigned int size, return __alloc_skb(size, priority, 1, -1); } -extern struct sk_buff *alloc_skb_from_cache(struct kmem_cache *cp, - unsigned int size, - gfp_t priority); extern void kfree_skbmem(struct sk_buff *skb); extern struct sk_buff *skb_clone(struct sk_buff *skb, gfp_t priority); |