diff options
author | Tilman Schmidt <tilman@imap.cc> | 2006-04-11 01:55:13 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-11 09:18:50 -0400 |
commit | 443e1f45ac1fee498e3ff053c61fcc54024ee6ee (patch) | |
tree | 9f837cc00736ddfc57d74b5a74b6785991f907fc /drivers/isdn/gigaset/gigaset.h | |
parent | abfd1dc7c18e4be89715071a524324c7b2515565 (diff) |
[PATCH] isdn4linux: Siemens Gigaset drivers: remove private version of __skb_put()
With Hansjoerg Lipp <hjlipp@web.de>
Remove the private version of __skb_put() from the Siemens Gigaset drivers.
Signed-off-by: Hansjoerg Lipp <hjlipp@web.de>
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Cc: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/isdn/gigaset/gigaset.h')
-rw-r--r-- | drivers/isdn/gigaset/gigaset.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/isdn/gigaset/gigaset.h b/drivers/isdn/gigaset/gigaset.h index 12153acc23e4..3596096ca073 100644 --- a/drivers/isdn/gigaset/gigaset.h +++ b/drivers/isdn/gigaset/gigaset.h | |||
@@ -852,23 +852,6 @@ static inline void gigaset_bchannel_up(struct bc_state *bcs) | |||
852 | /* handling routines for sk_buff */ | 852 | /* handling routines for sk_buff */ |
853 | /* ============================= */ | 853 | /* ============================= */ |
854 | 854 | ||
855 | /* private version of __skb_put() | ||
856 | * append 'len' bytes to the content of 'skb', already knowing that the | ||
857 | * existing buffer can accomodate them | ||
858 | * returns a pointer to the location where the new bytes should be copied to | ||
859 | * This function does not take any locks so it must be called with the | ||
860 | * appropriate locks held only. | ||
861 | */ | ||
862 | static inline unsigned char *gigaset_skb_put_quick(struct sk_buff *skb, | ||
863 | unsigned int len) | ||
864 | { | ||
865 | unsigned char *tmp = skb->tail; | ||
866 | /*SKB_LINEAR_ASSERT(skb);*/ /* not needed here */ | ||
867 | skb->tail += len; | ||
868 | skb->len += len; | ||
869 | return tmp; | ||
870 | } | ||
871 | |||
872 | /* pass received skb to LL | 855 | /* pass received skb to LL |
873 | * Warning: skb must not be accessed anymore! | 856 | * Warning: skb must not be accessed anymore! |
874 | */ | 857 | */ |