aboutsummaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2009-06-05 04:03:35 +0000
committerDavid S. Miller <davem@davemloft.net>2009-06-08 00:20:23 -0700
commiteae3f29cc73f83cc3f1891d3ad40021b5172c630 (patch)
tree71c5555b3b67cae80c1aae8b9fd907e3be957e24 /net/core
parentf957bcf0164e45bd77867e02412035e1c2fd7058 (diff)
downloadkernel_samsung_crespo-eae3f29cc73f83cc3f1891d3ad40021b5172c630.zip
kernel_samsung_crespo-eae3f29cc73f83cc3f1891d3ad40021b5172c630.tar.gz
kernel_samsung_crespo-eae3f29cc73f83cc3f1891d3ad40021b5172c630.tar.bz2
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')
-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 8623492..7adb623 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,
goto unwind;
sp->dma_maps[i + 1] = map;
}
- sp->num_dma_maps = i + 1;
return 0;