diff options
Diffstat (limited to 'include/linux/skbuff.h')
-rw-r--r-- | include/linux/skbuff.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 9a0e9e789339..7e631a542577 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -998,21 +998,6 @@ static inline int pskb_trim(struct sk_buff *skb, unsigned int len) } /** - * pskb_trim_unique - remove end from a paged unique (not cloned) buffer - * @skb: buffer to alter - * @len: new length - * - * This is identical to pskb_trim except that the caller knows that - * the skb is not cloned so we should never get an error due to out- - * of-memory. - */ -static inline void pskb_trim_unique(struct sk_buff *skb, unsigned int len) -{ - int err = pskb_trim(skb, len); - BUG_ON(err); -} - -/** * skb_orphan - orphan a buffer * @skb: buffer to orphan * |