Message ID | 20220513173400.3848271-3-ricardo.martinez@linux.intel.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 89af2ce2d95c80f6da9388d9da2e35c84c2573b1 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | net: skb: Remove skb_data_area_size() | expand |
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 9d82a8b6c8f1..2810a3abe81a 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -1764,11 +1764,6 @@ static inline void skb_set_end_offset(struct sk_buff *skb, unsigned int offset) } #endif -static inline unsigned int skb_data_area_size(struct sk_buff *skb) -{ - return skb_end_pointer(skb) - skb->data; -} - struct ubuf_info *msg_zerocopy_realloc(struct sock *sk, size_t size, struct ubuf_info *uarg);