Commit eae3f29c authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller

net: num_dma_maps is not used

Get rid of num_dma_maps in struct skb_shared_info, as it seems unused.
Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f957bcf0
...@@ -194,9 +194,6 @@ struct skb_shared_info { ...@@ -194,9 +194,6 @@ struct skb_shared_info {
unsigned short gso_type; unsigned short gso_type;
__be32 ip6_frag_id; __be32 ip6_frag_id;
union skb_shared_tx tx_flags; union skb_shared_tx tx_flags;
#ifdef CONFIG_HAS_DMA
unsigned int num_dma_maps;
#endif
struct sk_buff *frag_list; struct sk_buff *frag_list;
struct skb_shared_hwtstamps hwtstamps; struct skb_shared_hwtstamps hwtstamps;
skb_frag_t frags[MAX_SKB_FRAGS]; skb_frag_t frags[MAX_SKB_FRAGS];
......
...@@ -30,7 +30,6 @@ int skb_dma_map(struct device *dev, struct sk_buff *skb, ...@@ -30,7 +30,6 @@ int skb_dma_map(struct device *dev, struct sk_buff *skb,
goto unwind; goto unwind;
sp->dma_maps[i + 1] = map; sp->dma_maps[i + 1] = map;
} }
sp->num_dma_maps = i + 1;
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment