mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-15 21:30:43 +00:00
net: dsa: Remove the now unused DSA_SKB_CB_COPY() macro
It's best to not expose this, due to the performance hit it may cause
when calling it.
Fixes: b68b0dd0fb
("net: dsa: Keep private info in the skb->cb")
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
506f0e09ce
commit
1c9b1420ac
@ -99,9 +99,6 @@ struct __dsa_skb_cb {
|
||||
|
||||
#define DSA_SKB_CB(skb) ((struct dsa_skb_cb *)((skb)->cb))
|
||||
|
||||
#define DSA_SKB_CB_COPY(nskb, skb) \
|
||||
{ *__DSA_SKB_CB(nskb) = *__DSA_SKB_CB(skb); }
|
||||
|
||||
#define DSA_SKB_CB_PRIV(skb) \
|
||||
((void *)(skb)->cb + offsetof(struct __dsa_skb_cb, priv))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user