aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/skb_dma_map.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2009-06-05 00:03:35 -0400
committerDavid S. Miller <davem@davemloft.net>2009-06-08 03:20:23 -0400
commiteae3f29cc73f83cc3f1891d3ad40021b5172c630 (patch)
tree71c5555b3b67cae80c1aae8b9fd907e3be957e24 /net/core/skb_dma_map.c
parentf957bcf0164e45bd77867e02412035e1c2fd7058 (diff)
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: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/skb_dma_map.c')
-rw-r--r--net/core/skb_dma_map.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/core/skb_dma_map.c b/net/core/skb_dma_map.c
index 86234923a3b7..7adb623ef664 100644
--- a/net/core/skb_dma_map.c
+++ b/net/core/skb_dma_map.c
@@ -30,7 +30,6 @@ int skb_dma_map(struct device *dev, struct sk_buff *skb,
30 goto unwind; 30 goto unwind;
31 sp->dma_maps[i + 1] = map; 31 sp->dma_maps[i + 1] = map;
32 } 32 }
33 sp->num_dma_maps = i + 1;
34 33
35 return 0; 34 return 0;
36 35