summaryrefslogtreecommitdiffstats
path: root/drivers/net/3c505.h
diff options
context:
space:
mode:
authorPaulius Zaleckas <paulius.zaleckas@teltonika.lt>2008-04-29 01:27:37 +0200
committerJeff Garzik <jgarzik@redhat.com>2008-04-29 07:55:11 +0200
commitba0f6caeb5d9cf6fbb99f84ff0f2731f04996595 (patch)
tree8e5698c4dc5dc19057a3117ee6d25d0f653c673f /drivers/net/3c505.h
parentMerge branch 'upstream-jeff' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff)
downloadlinux-ba0f6caeb5d9cf6fbb99f84ff0f2731f04996595.tar.xz
linux-ba0f6caeb5d9cf6fbb99f84ff0f2731f04996595.zip
3c505: use netstats in net_device structure
Use net_device_stats from net_device structure instead of local. No need to memset it to 0, because it is allocated by kzalloc. Signed-off-by: Paulius Zaleckas <paulius.zaleckas@teltonika.lt> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/3c505.h')
-rw-r--r--drivers/net/3c505.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/3c505.h b/drivers/net/3c505.h
index 1910cb1dc787..04df2a9002b6 100644
--- a/drivers/net/3c505.h
+++ b/drivers/net/3c505.h
@@ -264,7 +264,6 @@ typedef struct {
pcb_struct rx_pcb; /* PCB for foreground receiving */
pcb_struct itx_pcb; /* PCB for background sending */
pcb_struct irx_pcb; /* PCB for background receiving */
- struct net_device_stats stats;
void *dma_buffer;