diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-12-04 12:18:43 +0100 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2006-12-04 12:18:43 +0100 |
commit | 8cf6005296c61ff46afcc1f08b1791b4aa2e9ba5 (patch) | |
tree | 6c82662c07b05a70f3680f6d995d393569cb0088 /include | |
parent | 8e0a9377e5f04b0f2982b8f6afc38c80d828c250 (diff) |
remove garbage the sneaked into the ext3 fix
Spotted by Thomas Voegtle.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'include')
-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 9a0e9e78933..7e631a54257 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 * |